commit 99d9450336a1ba34755c830c32e050824d91d3a4 Author: Sebastiaan de Schaetzen Date: Thu Nov 13 14:29:56 2025 +0100 Initial commit diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..f960a7b --- /dev/null +++ b/.gitea/workflows/build.yml @@ -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 \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..c0893ba --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# Docker Container template +Simply add a Dockerfile, and it will automatically be built and pushed. + +If it has been added to the docker-compose with the label `com.centurylinklabs.watchtower.enable=true`, it will also be deployed automatically. \ No newline at end of file