bump apko to 0.14.6 (#321) #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
goreleaser: | |
permissions: | |
contents: write # To publish the release. | |
id-token: write # To federate for the GPG key. | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- run: git fetch --prune --unshallow | |
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 | |
with: | |
go-version-file: 'go.mod' | |
cache: false | |
# This is provisioned here: https://github.com/chainguard-dev/secrets/blob/main/terraform-provider-apko.tf | |
- uses: google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa # v2.1.3 | |
id: auth | |
with: | |
workload_identity_provider: "projects/12758742386/locations/global/workloadIdentityPools/github-pool/providers/github-provider" | |
service_account: "terraform-provider-apko@chainguard-github-secrets.iam.gserviceaccount.com" | |
- uses: google-github-actions/setup-gcloud@98ddc00a17442e89a24bbf282954a3b65ce6d200 # v2.1.0 | |
with: | |
project_id: "chainguard-github-secrets" | |
- uses: google-github-actions/get-secretmanager-secrets@3d36df966bdcaeee757ff19173e79a2f826beda0 # v2.1.2 | |
id: secrets | |
with: | |
secrets: |- | |
token:chainguard-github-secrets/terraform-provider-apko-signing-key | |
- id: import_gpg | |
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0 | |
with: | |
gpg_private_key: ${{ steps.secrets.outputs.token }} | |
- uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0 | |
with: | |
version: latest | |
args: release --rm-dist | |
env: | |
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |