Skip to content

Commit

Permalink
ci: update env varaible resolution in script
Browse files Browse the repository at this point in the history
  • Loading branch information
Artonus committed Mar 1, 2024
1 parent 690840c commit 442e3f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
run: |
# make github.repository_owner lowercase
REPO_OWNER=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')
docker tag hermes ghcr.io/$REPO_OWNER/hermes:${IMAGE_TAG}
docker tag hermes ghcr.io/${REPO_OWNER}/hermes:${IMAGE_TAG}
docker push ghcr.io/${{ github.repository_owner }}/hermes:${IMAGE_TAG}
if [[ ${{ steps.get-version.outputs.VERSION }} != *rc* ]]; then
docker tag hermes ghcr.io/$REPO_OWNER/hermes:latest
docker push ghcr.io/$REPO_OWNER/hermes:latest
docker tag hermes ghcr.io/${REPO_OWNER}/hermes:latest
docker push ghcr.io/${REPO_OWNER}/hermes:latest
fi

0 comments on commit 442e3f9

Please sign in to comment.