Skip to content

Build and publish a Docker image to ghcr.io #1

Build and publish a Docker image to ghcr.io

Build and publish a Docker image to ghcr.io #1

name: Build and publish a Docker image to ghcr.io
on:
# 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
working-directory: ./cairo-proving-server

Check failure on line 16 in .github/workflows/release_cairohtto.yml

View workflow run for this annotation

GitHub Actions / Build and publish a Docker image to ghcr.io

Invalid workflow file

The workflow is not valid. .github/workflows/release_cairohtto.yml (Line: 16, Col: 9): Unexpected value 'working-directory' .github/workflows/release_cairohtto.yml (Line: 19, Col: 9): Unexpected value 'uses'
- 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 }}