Push to ghcr.io

This commit is contained in:
Michael Aldridge 2020-11-10 21:23:21 -08:00
parent 4ff8b99cbe
commit 1f9ea643d7

View file

@ -16,6 +16,7 @@ jobs:
- name: Login to GCHR - name: Login to GCHR
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
registry: ghcr.io
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }} password: ${{ secrets.CR_PAT }}
- name: Set version - name: Set version
@ -25,4 +26,4 @@ jobs:
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
push: true push: true
tags: "${{ env.GITHUB_REPOSITORY }}:${{ env.RELEASE_VERSION }}" tags: "ghcr.io/${{ github.repository }}:${{ env.RELEASE_VERSION }}"