From 34b36e06dc23ca676e58e5f74d8021d54ff26899 Mon Sep 17 00:00:00 2001 From: Alexandre Careil Date: Fri, 30 Aug 2024 14:25:14 +0200 Subject: [PATCH] fix release cairohttp ghcr --- .github/workflows/release_cairohtto.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release_cairohtto.yml b/.github/workflows/release_cairohtto.yml index 45f9745..41b4e2c 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,10 @@ 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 + image_name: hyle-org/cairohttp # it will be lowercased internally github_token: ${{ secrets.GITHUB_TOKEN }} + context: ./cairo-proving-server + dockerfile: ./cairo-proving-server/Dockerfile