feat(release): setup for publishing docker images to ghcr

This commit is contained in:
2022-02-13 04:11:29 +00:00
parent 29902b2e8e
commit 1816e93170
3 changed files with 84 additions and 23 deletions

View File

@@ -28,6 +28,14 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Docker Login
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-go@v2
with:
go-version: 1.16