Skip to content

Merge pull request #7 from cert-manager/self-upgrade #5

Merge pull request #7 from cert-manager/self-upgrade

Merge pull request #7 from cert-manager/self-upgrade #5

Workflow file for this run

name: release
on:
push:
tags:
- "v*"
env:
VERSION: ${{ github.ref_name }}
jobs:
build_images:
runs-on: ubuntu-latest
permissions:
contents: write # needed to write releases
packages: write # needed for push images
id-token: write # needed for keyless signing
steps:
- uses: actions/checkout@v4
- id: go-version
run: |
make print-go-version >> "$GITHUB_OUTPUT"
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-go@v5
with:
go-version: ${{ steps.go-version.outputs.result }}
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: make release