diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml new file mode 100644 index 0000000..32a7c5a --- /dev/null +++ b/.gitea/workflows/docker.yml @@ -0,0 +1,24 @@ +name: Build and Publish docker image + +on: + push: + branches: + - 'main' + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - name: Login to container Registry + uses: docker/login-action@v3 + with: + registry: git.qwerinope.com + username: qwerinope + password: ${{ secrets.PAT }} + - name: Docker Build and push + uses: docker/build-push-action@v6 + with: + file: Dockerfile.dogbot + context: . + push: true + tags: git.qwerinope.com/dogbot:latest \ No newline at end of file