Skip to content

cert-manager-webhook-loopia #8

cert-manager-webhook-loopia

cert-manager-webhook-loopia #8

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Release
on:
push:
branches: [ "master" ]
paths:
- "**.go"
- "**.mod"
- "**.sum"
- "**.yaml"
- "Dockerfile"
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: https://ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push to ghcr.io
id: build
uses: docker/build-push-action@v5
with:
push: true
tags: ghcr.io/jsundqvist/webhook-example:latest