Skip to content

Commit

Permalink
fixup! DELETE IONOS(ci): split action to build and push to ghcr.io
Browse files Browse the repository at this point in the history
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
  • Loading branch information
printminion-co committed Nov 26, 2024
1 parent fdcda11 commit e61ed97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/hidrive-next-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ jobs:
echo "DOCKER_IMAGE_TAG=tmp-latest" >> $GITHUB_ENV
fi
- name: Lowercase the repo name
run: echo "REGISTRY_LOWERCASED=`echo ${{env.REGISTRY}} | tr '[:upper:]' '[:lower:]'`" >>${GITHUB_ENV}
- name: Lowercase the image name
run: echo "IMAGE_NAME_LOWERCASED=`echo ${{env.IMAGE_NAME}} | tr '[:upper:]' '[:lower:]'`" >>${GITHUB_ENV}

- name: Build and push Docker image with Kaniko
run: |
Expand All @@ -280,7 +280,7 @@ jobs:
--build-arg GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} \
--context . \
--verbosity info \
--destination "${{ env.REGISTRY_LOWERCASED }}/${{env.IMAGE_NAME}}:${{ env.DOCKER_IMAGE_TAG }}"
--destination "${{ env.REGISTRY }}/${{env.IMAGE_NAME_LOWERCASED}}:${{ env.DOCKER_IMAGE_TAG }}"
- name: Show changes on failure
if: failure()
Expand Down

0 comments on commit e61ed97

Please sign in to comment.