diff --git a/.forgejo/workflows/docker.yaml b/.forgejo/workflows/docker.yaml new file mode 100644 index 0000000..0ba288c --- /dev/null +++ b/.forgejo/workflows/docker.yaml @@ -0,0 +1,19 @@ +on: + push: + branches: + - main + +jobs: + build: + runs-on: docker + steps: + - uses: actions/checkout@v4 + + - name: Build and push Docker image + uses: docker/build-push-action@v6 + with: + context: . + push: true + tags: ${{ gitea.server_url }}/${{ gitea.repository }}:latest + username: ${{ gitea.actor }} + password: ${{ secrets.FORGEJO_TOKEN }}