Skip to content

init

init #1

Workflow file for this run

name: build
on:
- push
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build
run: ./build.sh
release:
if: startsWith(github.ref, 'refs/tags/v')
name: Release
needs: build
runs-on: ubuntu-22.04
permissions:
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Release
run: ./release.sh