Skip to content

Commit

Permalink
Use secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
jackbot committed Jan 10, 2025
1 parent 792fcb4 commit 706f641
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build-and-push-multiarch-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ on:
required: false
type: string
default: ${{ github.sha }}
buildSecrets:
required: false
type: string
outputs:
imageTag:
description: "The image tag for the built image"
Expand Down Expand Up @@ -94,7 +91,7 @@ jobs:
outputs: type=image,name=ghcr.io/${{ github.repository_owner }}/govuk/${{ inputs.imageName }},push-by-digest=true,name-canonical=true,push=true
cache-from: type=gha,scope=build-${{ inputs.imageName }}-${{ matrix.arch }}
cache-to: type=gha,scope=build-${{ inputs.imageName }}-${{ matrix.arch }},mode=max
secrets: ${{ inputs.buildSecrets }}
secrets: ${{ secrets.BUILD_SECRETS }}

- id: export-digests
env:
Expand Down

0 comments on commit 706f641

Please sign in to comment.