Skip to content

Commit

Permalink
Add arch annotation with Docker
Browse files Browse the repository at this point in the history
* otherwise pack does not write the mandatory Architecture field
  • Loading branch information
anthonydahanne committed Mar 12, 2024
1 parent 4e1f88d commit 3941587
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/multi-arch-create-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ jobs:
docker pull ${PACKAGE}:${VERSION}-amd64 && docker pull ${PACKAGE}:${VERSION}-arm64
docker manifest create ${PACKAGE}:${VERSION} --amend ${PACKAGE}:${VERSION}-amd64 --amend ${PACKAGE}:${VERSION}-arm64
docker manifest annotate gcr.io/paketo-buildpacks/syft:0.0.1-anthony gcr.io/paketo-buildpacks/syft:0.0.1-anthony-amd64 --arch amd64
docker manifest annotate gcr.io/paketo-buildpacks/syft:0.0.1-anthony gcr.io/paketo-buildpacks/syft:0.0.1-anthony-arm64 --arch arm64
docker manifest push ${PACKAGE}:${VERSION}
docker pull ${PACKAGE}:${VERSION}
Expand Down

0 comments on commit 3941587

Please sign in to comment.