Skip to content

Python 3.12.2 + PHP 8.3.3 #44

Python 3.12.2 + PHP 8.3.3

Python 3.12.2 + PHP 8.3.3 #44

name: Publish Docker image to ghcr.io
on:
# publish on releases (tagged as "x.y.z" - "v" prefix is removed)
release:
types: [ published ]
# publish on pushes to the main branch
push:
branches:
- master
jobs:
docker_publish:
runs-on: "ubuntu-20.04"
steps:
- uses: actions/[email protected]
# https://github.com/marketplace/actions/push-to-ghcr
- name: Build and publish a Docker image for ${{ github.repository }}
uses: macbre/push-to-ghcr@master
with:
image_name: ${{ github.repository }}
github_token: ${{ secrets.GITHUB_TOKEN }}