Skip to content

Commit

Permalink
Fix manifest creation
Browse files Browse the repository at this point in the history
  • Loading branch information
pweyck committed Jan 29, 2024
1 parent 97db9e7 commit db907f0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,16 @@ jobs:
- run: docker manifest create ${{ matrix.fpm-image }} --amend ${{ matrix.fpm-image }}-amd64 --amend ${{ matrix.fpm-image }}-arm64

- run: docker tag ${{ matrix.fpm-image }} ${{ matrix.fpm-patch-image }}

- run: docker manifest push ${{ matrix.fpm-image }}

- run: cosign sign --yes ${{ matrix.fpm-image }}

- run: docker manifest create ${{ matrix.fpm-patch-image }} --amend ${{ matrix.fpm-image }}-amd64 --amend ${{ matrix.fpm-image }}-arm64

- run: docker manifest push ${{ matrix.fpm-patch-image }}

- run: cosign sign --yes ${{ matrix.fpm-patch-image }}

- if: github.ref == 'refs/heads/main'
run: ./regctl-linux-amd64 image copy ${{ matrix.fpm-image }} ${{ matrix.fpm-hub-image }}

Expand Down

0 comments on commit db907f0

Please sign in to comment.