Skip to content

Merge pull request #44 from macbre/dependabot/npm_and_yarn/nodemw-0.20.0 #40

Merge pull request #44 from macbre/dependabot/npm_and_yarn/nodemw-0.20.0

Merge pull request #44 from macbre/dependabot/npm_and_yarn/nodemw-0.20.0 #40

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 ]
# publish on pushes to the main branch (image tagged as "latest")
push:
branches:
- devel
jobs:
docker_publish:
runs-on: "ubuntu-20.04"
steps:
- uses: actions/checkout@v2
# 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 }}