diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..56e7389 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,21 @@ +jobs: + build-and-push-image: + runs-on: ubuntu-latest + container: + image: catthehacker/ubuntu:act-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Log in to registry + uses: docker/login-action@v3 + with: + registry: gitea.bv.stef.lan + username: stef + password: stef + - name: Build and push image + uses: docker/build-push-action@v6 + with: + push: true + tags: ${{ gitea.bv.stef.lan }}/${{ env.RESULT_IMAGE_NAME }}:${{ gitea.ref }}