From b04745d960c5fbdd175afe17aca58a08b6ef5446 Mon Sep 17 00:00:00 2001 From: Jauder Ho Date: Mon, 9 Aug 2021 11:53:48 +0000 Subject: [PATCH] Use github.repository instead --- .github/workflows/docker-3.0.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-3.0.yml b/.github/workflows/docker-3.0.yml index 1264f8d..5090a32 100644 --- a/.github/workflows/docker-3.0.yml +++ b/.github/workflows/docker-3.0.yml @@ -34,11 +34,11 @@ jobs: id: docker_meta uses: docker/metadata-action@v3 with: - images: ${{ env.REPOSITORY }} + images: ${{ github.repository }} labels: | org.opencontainers.image.version=${{ env.BUILD_VERSION }} org.opencontainers.image.revision=${{ github.sha }} - org.opencontainers.image.title=${{ env.REPOSITORY }} + org.opencontainers.image.title=${{ github.repository }} - name: GitHub login if: ${{ github.event_name != 'pull_request' }} @@ -60,4 +60,4 @@ jobs: cache-to: type=gha, scope=${{ github.workflow }} labels: ${{ steps.docker_meta.outputs.labels }} tags: | - ghcr.io/${{ env.REPOSITORY }}:${{ env.BUILD_VERSION }} + ghcr.io/${{ github.repository }}:${{ env.BUILD_VERSION }}