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
H,
I'm building multiple apps from a bake file and the build summary in GHA shows them all with the name docker, which makes it not very useful since I don't know which build summary relates which app.
Some info about my setup:
All apps use the same context
All apps use the same dockerfile, but with different build args
The bake is invoked like this
- name: 'Setup Buildx'uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # pin@v3.6.1with:
buildkitd-config-inline: | [worker.oci] # More than 6 parallel builds can cause OOM on our big runners. max-parallelism = 6
- name: 'Docker metadata'id: metauses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # pin@v5.5.1
- name: 'Build and push'uses: docker/bake-action@76cc8060bdff6d632a465001e4cf300684c5472c # pin@v5.7.0env:
TAG: ${{ inputs.tag }}with:
workdir: dockerload: falsetargets: ${{ steps.sanitize-projects.outputs.projects }}push: ${{ inputs.push }}files: | ./docker-bake.json ./docker-bake.override.json ${{ steps.meta.outputs.bake-file-labels }} ${{ steps.meta.outputs.bake-file-labels }}
Having the same problem, every item having the same name, after add stage target its only have extra stage target as postfix.
Because I share one Dockerfile along with all the micros service I'm building, complete not helpful when every item is same name.
Why can't we config it use bake target name instead, it making more sense. :(
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
H,
I'm building multiple apps from a bake file and the build summary in GHA shows them all with the name
docker, which makes it not very useful since I don't know which build summary relates which app.Some info about my setup:
An excert from the bake file:
{ "target": { "example-app-admin": { "inherits": [ "zapgeneric" ], "dockerfile": "Dockerfile.zapgeneric", "args": { "PROJECT": "admin", }, "tags": [ "admin:${TAG}" ], "contexts": { "ctx": "target:ctx" } }, "example-adapter-api": { "inherits": [ "zapgeneric" ], "dockerfile": "Dockerfile.zapgeneric", "args": { "PROJECT": "adapter", }, "tags": [ "adapter:${TAG}" ], "contexts": { "ctx": "target:ctx" } } }All reactions