Add GitHub Actions workflows for build and deployment
All checks were successful
Build / build (push) Successful in 1m48s

This commit is contained in:
2025-03-24 12:37:10 +01:00
parent 6e552e4de8
commit a0822eed20
2 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
name: Build
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: standard-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login
with: # Set the secret as an input
package_rw: ${{ secrets.PACKAGE_RW }}
run: docker login gitea.seeseepuff.be -u seeseemelk -p ${{ secrets.PACKAGE_RW }}
- name: Build
run: docker build -t gitea.seeseepuff.be/seeseemelk/pcinv:${{github.ref_name}} .
- name: Push
run: docker push gitea.seeseepuff.be/seeseemelk/pcinv:${{github.ref_name}}