fix release cairohttp ghcr #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
types: [ published ] | |
jobs: | |
docker_publish: | |
name: "Docker Publish" | |
runs-on: "ubuntu-22.04" | |
permissions: write-all | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Build and publish a Docker image for cairohttp | |
uses: macbre/push-to-ghcr@master | |
with: | |
image_name: hyle-org/cairohttp # it will be lowercased internally | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
context: ./cairo-proving-server | |
dockerfile: ./cairo-proving-server/Dockerfile |