Skip to content

Commit

Permalink
Fix deploy job
Browse files Browse the repository at this point in the history
  • Loading branch information
jhbertra committed Sep 22, 2023
1 parent 2509a91 commit 5590faa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
- name: Tag and push images
run: |
tagAndPush() {
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$2
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$1
# Change all uppercase to lowercase
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
echo IMAGE_ID=$IMAGE_ID
docker tag $2:latest $IMAGE_ID:$TAG
docker tag $1:latest $IMAGE_ID:$TAG
docker push $IMAGE_ID:$TAG
}
if [[ "${{ github.ref }}" == "refs/tags/runtime@v"* ]]
Expand Down

0 comments on commit 5590faa

Please sign in to comment.