Skip to content

Commit

Permalink
signing support (action)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcmxgti committed Feb 24, 2023
1 parent ddc4089 commit 7781fe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
sbom: true
cache-from: type=gha
cache-to: type=gha,mode=max
env:
Expand All @@ -53,7 +53,7 @@ jobs:
uses: sudo-bot/action-docker-sign@latest
if: github.event_name != 'pull_request'
with:
image-ref: "${{ env.IMAGE_NAME }}:latest"
image-ref: "${{steps.meta.outputs.tags}}"
private-key-id: "${{ secrets.DOCKER_PRIVATE_KEY_ID }}"
private-key: "${{ secrets.DOCKER_PRIVATE_KEY }}"
private-key-passphrase: "${{ secrets.DOCKER_PRIVATE_KEY_PASSPHRASE }}"
Expand Down

0 comments on commit 7781fe5

Please sign in to comment.