Skip to content

Initial release

Initial release #4

Workflow file for this run

name: Build and publish
on:
pull_request:
branches:
- main
release:
types: [published]
jobs:
build:
name: Build and publish
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- name: Build the image
run: make build
- name: Log in to ghcr
uses: docker/login-action@v2
if: github.event_name == 'release'
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Publish the image
if: github.event_name == 'release'
run: make publish
env:
TAG: ${{ github.ref_name }}