name: Build and publish Docker image on: push: branches: - 'master' - 'epic/**' pull_request: branches: ['**'] env: REGISTRY: ghcr.io jobs: build-push: runs-on: ubuntu-latest steps: - uses: valitydev/action-deploy-docker@v2 with: registry-username: ${{ github.actor }} registry-access-token: ${{ secrets.GITHUB_TOKEN }}