name: Release on: push: tags: - "v*" env: REGISTRY: gitea.ia-innovacion.work REGISTRY_PATH: innovacion/playground jobs: release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Log in to Gitea Registry uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.REGISTRY_PASSWORD }} - name: Build and push uses: docker/build-push-action@v5 with: context: . file: mods/qfactory/Dockerfile push: true tags: | ${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}:latest ${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}:${{ github.sha }}