Initial commit
This commit is contained in:
22
.gitea/workflows/build.yml
Normal file
22
.gitea/workflows/build.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
name: 'Build and Deploy'
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
build-container:
|
||||||
|
runs-on: standard-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
|
- name: Build Container
|
||||||
|
run: docker build --tag gitea.seeseepuff.be/${{ github.repository }}:latest .
|
||||||
|
|
||||||
|
- 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: Push Container
|
||||||
|
run: docker push gitea.seeseepuff.be/${{ github.repository }}:latest
|
||||||
|
|
||||||
|
- name: Trigger Watchtower
|
||||||
|
uses: https://gitea.seeseepuff.be/actions/watchtower@v1
|
||||||
Reference in New Issue
Block a user