You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that the changes that we have is the one generated in step 3
Describe the solution you'd like
It should point to the latest image built. In this case the one in step 7. We should be pushing both tags when building with buildkit, to okteto.global/image:hash and okteto.dev/image:okteto. This will ensure that everyone uses the latest images
Additional context
We'll need to change our Build command to support a list of tags instead of a single tag.
The text was updated successfully, but these errors were encountered:
rlamana
changed the title
[pull first approach] Build always to global and okteto.dev
[Pull First Approach] Build always to global and okteto.devAug 21, 2023
Regarding the acceptance criteria of this issue i have couple of questions:
Describe the solution you'd like
It should point to the latest image built. In this case the one in step 7. We should be pushing both tags when building with buildkit, to okteto.global/image:hash and okteto.dev/image:okteto. This will ensure that everyone uses the latest images
When builder is Buildkit
When image tag is okteto.dev/image:okteto (tagged by user via -t flag, or using the build.image field at the manifest, or leaving this empty so we infer it)
= We should push both okteto.dev/image:okteto and okteto.global/image:hash to both registries
? the hash is the SHA of the image? or is the hash of aguments?
Additional context
We'll need to change our Build command to support a list of tags instead of a single tag.
I think this should be a separate PR enabling the build option Tag to be []string instead of string
this should happen only with buildkit builds? or all the builds?
When image tag is okteto.dev/image:okteto (tagged by user via -t flag, or using the build.image field at the manifest, or leaving this empty so we infer it)
Talked offline:
When we are pushing to global, we should push to dev also
Is your feature request related to a problem? Please describe.
When I run
okteto deploy --build
+okteto up
I might have different images.frontend/src/index.html
:okteto deploy --build
frontend/src/index.html
:git add . && git commit -m "test"
okteto deploy --build
frontend/src/index.html
:okteto deploy
step 3
Describe the solution you'd like
It should point to the latest image built. In this case the one in
step 7
. We should be pushing both tags when building with buildkit, tookteto.global/image:hash
andokteto.dev/image:okteto
. This will ensure that everyone uses the latest imagesAdditional context
We'll need to change our Build command to support a list of tags instead of a single tag.
The text was updated successfully, but these errors were encountered: