Skip to content

fix(deps): update module sigs.k8s.io/controller-runtime to v0.19.0 #113

fix(deps): update module sigs.k8s.io/controller-runtime to v0.19.0

fix(deps): update module sigs.k8s.io/controller-runtime to v0.19.0 #113

Workflow file for this run

name: Release
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: go-semantic-release/action@v1
id: semrel
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
allow-initial-development-versions: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
if: steps.semrel.outputs.version != ''
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
if: steps.semrel.outputs.version != ''
with:
context: .
push: true
tags: ghcr.io/hef/cac-operator:${{steps.semrel.outputs.version}}
cache-from: type=gha
cache-to: type=gha,mode=max