From 7ce5aa85675911e224c72a3d410fd63d93be1442 Mon Sep 17 00:00:00 2001 From: Olivier ORAND Date: Thu, 14 Mar 2024 16:29:21 +0000 Subject: [PATCH] chore(build): fix published image name on dockerhub We need to override OCI_IMAGE, as we have to customize publication name --- .github/workflows/docker-image.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 9dec8ac..081d804 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -13,6 +13,7 @@ env: DOCKER_FILE_PATH: "fly" IMAGE: "ghcr.io/${{github.repository_owner}}/concourse-fly" DOCKERHUB_ORG: elpaasoci + OCI_IMAGE: concourse-fly # Replace extract 'github repo name' step jobs: build_and_publish: name: build and publish @@ -35,12 +36,6 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - - name: extract github repo name - id: gh-repo-name - run: | - echo "OCI_IMAGE=$(basename ${{ github.repository }})" >> $GITHUB_ENV - shell: bash - name: publish image uses: docker/build-push-action@v5.1.0