Merge pull request #55 from COBREXA/mk-readme #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# reference: https://github.com/marketplace/actions/push-to-ghcr | |
name: docker | |
on: | |
release: | |
types: [ published ] | |
push: | |
branches: | |
- master | |
jobs: | |
docker_publish: | |
runs-on: "ubuntu-20.04" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build and publish a Docker image for ${{ github.repository }} | |
uses: macbre/push-to-ghcr@master | |
with: | |
image_name: ${{ github.repository }} # the name is lowercased internally | |
github_token: ${{ secrets.GITHUB_TOKEN }} |