Skip to content

Commit

Permalink
Seeds: use specific tags for container images
Browse files Browse the repository at this point in the history
Since all tags would be pulled when no tag is specified, use the
`latest` tag for container images, so only those tags need to be pulled
by devices.

Signed-off-by: Davide Briani <[email protected]>
  • Loading branch information
davidebriani committed Nov 15, 2024
1 parent 395f8eb commit 5c431ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backend/priv/repo/seeds.exs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ app_nginx =
version: "1.0.0",
containers: [
%{
image: %{reference: "nginx"},
image: %{reference: "nginx:latest"},
restart_policy: :unless_stopped,
hostname: "",
env: %{},
Expand All @@ -228,7 +228,7 @@ app_nginx_8080 =
version: "1.0.0",
containers: [
%{
image: %{reference: "nginx"},
image: %{reference: "nginx:latest"},
restart_policy: :unless_stopped,
hostname: "",
env: %{},
Expand All @@ -253,7 +253,7 @@ app_nginx_8081 =
version: "1.0.0",
containers: [
%{
image: %{reference: "nginx"},
image: %{reference: "nginx:latest"},
restart_policy: :unless_stopped,
hostname: "",
env: %{},
Expand Down Expand Up @@ -285,7 +285,7 @@ app_with_credentials =
version: "1.0.0",
containers: [
%{
image: %{reference: "httpd", image_credentials_id: image_credentials.id},
image: %{reference: "httpd:latest", image_credentials_id: image_credentials.id},
restart_policy: :unless_stopped,
hostname: "",
env: %{},
Expand Down

0 comments on commit 5c431ec

Please sign in to comment.