Skip to content

Commit

Permalink
fix: the version of the image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Amninder Kaur committed Jan 12, 2024
1 parent 311d9f2 commit 4353696
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ghcr_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ jobs:
- run: |
echo $RELEASE_VERSION
echo ${{ env.RELEASE_VERSION }}
- name: Build and publish lock manager image with ver and latest tag
run: sh bin/ghcr-publish.sh lock-manager ${{ env.RELEASE_VERSION }}
run: sh bin/ghcr-publish.sh lock-manager $RELEASE_VERSION



Expand Down
2 changes: 1 addition & 1 deletion bin/ghcr-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package_name=$1
version=$2

docker_file=$package_name/Dockerfile
tag_with_version=pit-$package_name:v$version
tag_with_version=pit-$package_name:$version
tag_ref=ghcr.io/kindredgroup/pit-toolkit/$tag_with_version
echo $tag_ref
docker build -f $docker_file . --tag $tag_ref
Expand Down

0 comments on commit 4353696

Please sign in to comment.