From e11503ff5baceb0676cd244f91fbb0983c7362cf Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Thu, 21 Jul 2022 17:20:37 +0300 Subject: [PATCH] Makefile: correct Docker image repository name Fix 403 Forbidden errors on push. --- .github/workflows/build.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b13cad1e..9b630184c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -115,7 +115,7 @@ jobs: push: ${{ github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.event.inputs.push_image == 'true') }} platforms: linux/amd64,linux/arm64 build-args: | - REPO=${{ steps.setvars.outputs.repo }} + REPO=github.com/${{ github.repository }} VERSION=${{ steps.setvars.outputs.version }} tags: ${{ steps.setvars.outputs.repo }}:${{ steps.setvars.outputs.version }}${{ steps.setvars.outputs.suffix }}${{ steps.setlatest.outputs.latest }} diff --git a/Makefile b/Makefile index 3ad6298c0..2f79f4548 100644 --- a/Makefile +++ b/Makefile @@ -98,7 +98,7 @@ version: gh-docker-vars: @echo "::set-output name=file::$(D_FILE)" @echo "::set-output name=version::$(VERSION)" - @echo "::set-output name=repo::$(REPO)" + @echo "::set-output name=repo::$(IMAGE_REPO)" @echo "::set-output name=suffix::$(IMAGE_SUFFIX)" test: