Skip to content

fix release cairohttp ghcr #2

fix release cairohttp ghcr

fix release cairohttp ghcr #2

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
defaults:
run:
working-directory: ./cairo-proving-server
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Build and publish a Docker image for cairohttp
uses: macbre/push-to-ghcr@master
with:
image_name: cairohttp # it will be lowercased internally
github_token: ${{ secrets.GITHUB_TOKEN }}