Skip to content

Commit

Permalink
multi-arch should use annotations, not labels?
Browse files Browse the repository at this point in the history
  • Loading branch information
alcohol committed Jun 15, 2024
1 parent 97c11f1 commit bed71e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/v2-lts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:

outputs:
full-json: ${{ steps.meta-full.outputs.json }}
full-labels: ${{ steps.meta-full.outputs.labels }}
full-annotations: ${{ steps.meta-full.outputs.annotations }}
bin-json: ${{ steps.meta-bin.outputs.json }}
bin-labels: ${{ steps.meta-bin.outputs.labels }}
bin-annotations: ${{ steps.meta-bin.outputs.annotations }}

steps:

Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
with:
context: ${{ env.DIRECTORY }}
target: binary-with-runtime
labels: ${{ needs.prepare.outputs.full-labels }}
annotations: ${{ needs.prepare.outputs.full-annotations }}
platforms: ${{ matrix.platform }}
outputs: type=image,"name=${{ env.DOCKERHUB_SLUG }},${{ env.ECR_SLUG }},${{ env.GHCR_SLUG }}",push-by-digest=true,name-canonical=true,push=true

Expand All @@ -164,7 +164,7 @@ jobs:
with:
context: ${{ env.DIRECTORY }}
target: standalone-binary
labels: ${{ needs.prepare.outputs.bin-labels }}
annotations: ${{ needs.prepare.outputs.bin-annotations }}
platforms: ${{ matrix.platform }}
outputs: type=image,"name=${{ env.DOCKERHUB_SLUG }},${{ env.ECR_SLUG }},${{ env.GHCR_SLUG }}",push-by-digest=true,name-canonical=true,push=true

Expand Down

0 comments on commit bed71e1

Please sign in to comment.