Skip to content

Commit

Permalink
Sign the docker images
Browse files Browse the repository at this point in the history
Ref: 28bb2e5
  • Loading branch information
williamdes committed Dec 25, 2023
1 parent 5977d6f commit b80ab61
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,14 @@ jobs:
IMAGE_TAG: "docker.io/botsudo/action-doctum:latest"
PLATFORM: "linux/amd64,linux/ppc64le,linux/s390x,linux/386,linux/arm/v7,linux/arm/v6"
ACTION: push

- name: Sign and push the manifest
uses: sudo-bot/action-docker-sign@latest
with:
image-ref: "docker.io/botsudo/action-doctum:latest"
# Please use the repository key for the manifest or pull will not work
private-key-id: "${{ secrets.DOCKER_PRIVATE_KEY_ID }}"
private-key: ${{ secrets.DOCKER_PRIVATE_KEY }}
private-key-passphrase: ${{ secrets.DOCKER_PRIVATE_KEY_PASSPHRASE }}
sign-manifest: true
notary-auth: "${{ secrets.DOCKER_REPOSITORY_LOGIN }}:${{ secrets.DOCKER_REPOSITORY_PASSWORD }}"

0 comments on commit b80ab61

Please sign in to comment.