pchl-astro/.gitea/workflows/main.yml

24 lines
602 B
YAML

name: Build PCHL
run-name: Building pchl using astro and pocketbase
on:
push:
tags:
- 'v*.*'
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- name: Build pchl using Dockerfile
uses: https://github.com/docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: false
tags: pchl:${{ gitea.tag }},pchl:${{gitea.sha}}