From 84297c540345de50f2d60f6400c52e72e697561b Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sun, 22 Nov 2020 12:13:56 +0100 Subject: [PATCH] Fixed publishing workflow --- .github/workflows/publish.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 98ee3c424..9e2cbf3c9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -81,19 +81,19 @@ jobs: with: context: . tags: | - ${GITHUB_REPOSITORY}:latest - ${GITHUB_REPOSITORY}:${{ github.event.release.tag_name }} - ghcr.io/${GITHUB_REPOSITORY}:latest - ghcr.io/${GITHUB_REPOSITORY}:${{ github.event.release.tag_name }} + ${{ github.event.repository.full_name }}:latest + ${{ github.event.repository.full_name }}:${{ github.event.release.tag_name }} + ghcr.io/${{ github.event.repository.full_name }}:latest + ghcr.io/${{ github.event.repository.full_name }}:${{ github.event.release.tag_name }} - name: Check Docker image run: - docker run --rm -i -v ${PWD}:/docs ${GITHUB_REPOSITORY} build + docker run --rm -i -v ${PWD}:/docs ${{ github.event.repository.full_name }} build - name: Publish Docker image env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} run: | - docker push --quiet ${GITHUB_REPOSITORY} - docker push --quiet ghcr.io/${GITHUB_REPOSITORY} + docker push --quiet ${{ github.event.repository.full_name }} + docker push --quiet ghcr.io/${{ github.event.repository.full_name }}