Skip to content

Commit

Permalink
fix: make env var to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
yasinmiran committed Oct 9, 2024
1 parent 9136e2d commit 1ca5518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
id: extract_version
run: |
VERSION=$(sed -n 's/^version = "\(.*\)"/\1/p' pyproject.toml)
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "version=$VERSION" >> $GITHUB_ENV
build_and_push:
runs-on: ubuntu-latest
Expand All @@ -72,5 +72,5 @@ jobs:
with:
context: .
tags: |
ghcr.io/${{ env.repo_name }}:${{ env.VERSION }}
ghcr.io/${{ env.repo_name }}:${{ env.version }}
ghcr.io/${{ env.repo_name }}:latest

0 comments on commit 1ca5518

Please sign in to comment.