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
But this is obviously wrong, so then how can we use this action? Two scenario's are to be thought of. Upon pushing of a tag, where the container is also pushed into the ghcr, which is fine, and 'all other cases' e.g. pushes to master, pushes to a branch etc. How does this work, without pushing to ghcr and without using a fixed tag. (unless the answer is to always 'also' add a fixed tag, however that is done ...
The text was updated successfully, but these errors were encountered:
It is not uncommon to use the
metadata-action
. E.g.The idea of this is to generate the correct tag (if we are pushing a tag, otherwise a different tag gets created).
In such a case, how do we supply the image?
The build-and-push docker action uses the tag as
which in the end, is sensible if we where intended to run a pushed container
But this is obviously wrong, so then how can we use this action? Two scenario's are to be thought of. Upon pushing of a tag, where the container is also pushed into the ghcr, which is fine, and 'all other cases' e.g. pushes to master, pushes to a branch etc. How does this work, without pushing to ghcr and without using a fixed tag. (unless the answer is to always 'also' add a fixed tag, however that is done ...
The text was updated successfully, but these errors were encountered: