chore(deps): bump docker/setup-buildx-action from 3.3.0 to 3.5.0 (#1097) #417
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: Publish canary image to GitHub Container Registry | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
permissions: | |
contents: read | |
packages: write | |
id-token: write # needed for signing the images with GitHub OIDC Token **not production ready** | |
container: ghcr.io/kedacore/keda-tools:1.22.2 | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Register workspace path | |
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Login to GHCR | |
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0 | |
with: | |
# Username used to log in to a Docker registry. If not set then no login will occur | |
username: ${{ github.repository_owner }} | |
# Password or personal access token used to log in to a Docker registry. If not set then no login will occur | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# Server address of Docker registry. If not set then will default to Docker Hub | |
registry: ghcr.io | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@aa33708b10e362ff993539393ff100fa93ed6a27 # v3.5.0 | |
- name: Publish on GitHub Container Registry | |
run: make publish-multiarch | |
env: | |
VERSION: canary | |
# https://github.com/sigstore/cosign-installer | |
- name: Install Cosign | |
uses: sigstore/cosign-installer@v3 | |
- name: Check Cosign install! | |
run: cosign version | |
- name: Sign KEDA images published on GitHub Container Registry | |
# This step uses the identity token to provision an ephemeral certificate | |
# against the sigstore community Fulcio instance. | |
run: make sign-images | |
env: | |
VERSION: canary |