How To Assign Tags To Multiple Targets From Single Bake Call? #417
Unanswered
jvanderen1
asked this question in
Q&A
Replies: 1 comment
-
|
It is possible to generate the tags using HCL |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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
Dockerfilefile constructed like so:I have a
docker-compose.ymlfile constructed like so:Finally, I am trying to construct the metadata properly for each image built as defined in my
docker-compose.ymlusing Github Actions:In the end, I would like to generate the following repositories + tags (on pull requests):
${{ env.REGISTRY }}/app-finalpr-1${{ env.REGISTRY }}/app-testpr-1Related 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