diff --git a/.github/workflows/release_cairohtto.yml b/.github/workflows/release_cairohtto.yml index 45f9745..ab11fba 100644 --- a/.github/workflows/release_cairohtto.yml +++ b/.github/workflows/release_cairohtto.yml @@ -1,5 +1,13 @@ name: Build and publish a Docker image to ghcr.io on: + push: + branches: + - "fix/cairo_ghcr" + pull_request: + branches: + - "main" + paths: + - ".github/workflows/release_cairohttp.yaml" # publish on releases, e.g. v2.1.13 (image tagged as "2.1.13" - "v" prefix is removed) release: @@ -13,10 +21,9 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - working-directory: ./cairo-proving-server - name: Build and publish a Docker image for cairohttp - working-directory: ./cairo-proving-server uses: macbre/push-to-ghcr@master with: image_name: cairohttp # it will be lowercased internally github_token: ${{ secrets.GITHUB_TOKEN }} + context: ./cairo-proving-server