on: push: branches: - "**" pull_request: types: [ opened, synchronize, reopened ] jobs: publish_debug: runs-on: docker container: image: ghcr.io/catthehacker/ubuntu:act-22.04 steps: - name: Extract metadata (tags, labels) id: meta uses: docker/metadata-action@v5 with: images: | git.spgrn.com/${{ env.GITHUB_REPOSITORY }}-web tags: | type=ref,event=pr type=ref,event=branch type=sha - name: Checkout uses: actions/checkout@v4 - name: Login to Container Registry uses: docker/login-action@v3 with: registry: git.spgrn.com username: seang96 password: ${{ secrets.TOKEN }} - name: Build Web Application uses: docker/build-push-action@v5 with: context: . file: ./StalwartSimpleLoginMiddleware/Dockerfile platforms: linux/amd64 push: true BUILD_CONFIGURATION=Debug tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}