Skip to content

Publish docker image #36

Publish docker image

Publish docker image #36

name: Publish docker image
on:
release:
types: [published]
push:
branches:
- main
jobs:
publish:
runs-on: "ubuntu-20.04"
steps:
- id: string
uses: ASzc/change-string-case-action@v2
with:
string: ${{ github.repository }}
- uses: actions/checkout@v2
- name: Build and publish a Docker image for ${{ github.repository }}
uses: macbre/push-to-ghcr@master
with:
image_name: ${{ steps.string.outputs.lowercase }}
github_token: ${{ secrets.GITHUB_TOKEN }}