How To Assign Tags To Multiple Targets From Single Bake Call? #417
Unanswered
jvanderen1
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am wondering how to assign tags to multiple images generated from a single Docker bake call with multiple targets?
Setup
I have a multi-stage
Dockerfile
file constructed like so:I have a
docker-compose.yml
file constructed like so:Finally, I am trying to construct the metadata properly for each image built as defined in my
docker-compose.yml
using Github Actions:In the end, I would like to generate the following repositories + tags (on pull requests):
${{ env.REGISTRY }}/app-final
pr-1
${{ env.REGISTRY }}/app-test
pr-1
Related Info
This question feels similar to #398, but there has not been any activity on it.
Beta Was this translation helpful? Give feedback.
All reactions