Skip to content

Merge pull request #289 from clabs/dev #290

Merge pull request #289 from clabs/dev

Merge pull request #289 from clabs/dev #290

Workflow file for this run

name: Build and publish docker image
on:
# publish on releases, e.g. v2.1.13 (image tagged as "2.1.13" - "v" prefix is removed)
release:
types: [ published ]
# publish on pushes to the main branch (image tagged as "latest")
push:
branches:
# - dev
- main
jobs:
docker_build:
runs-on: "ubuntu-22.04"
steps:
- uses: actions/checkout@v4
# 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 }}
image_tag: ${{ github.ref_name }}
github_token: ${{ secrets.GITHUB_TOKEN }}
dockerfile: docker/Dockerfile