Skip to content

Commit

Permalink
chore(build): fix published image name on dockerhub
Browse files Browse the repository at this point in the history
We need to override OCI_IMAGE, as we have to customize publication name
  • Loading branch information
o-orand committed Mar 14, 2024
1 parent 1e51da1 commit 7ce5aa8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/[email protected]
Expand Down

0 comments on commit 7ce5aa8

Please sign in to comment.