Skip to content

Commit

Permalink
Update tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianBingman committed Nov 9, 2024
1 parent e3d5969 commit 00da428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
echo "COMMIT_TAG=$COMMIT_TAG" >> "$GITHUB_ENV"
docker tag registry.christianbingman.com/personal-site:latest registry.christianbingman.com/personal-site:$COMMIT_TAG
if [[ "$GITHUB_REF_TYPE" == "tag" ]]; then
docker tag registry.christianbingman.com/personal-site:latest registry.christianbingman.com/personal-site:$COMMIT_TAG
docker tag registry.christianbingman.com/personal-site:latest registry.christianbingman.com/personal-site:$(jq -r .version package.json)
fi
- name: Push image to repo
run: "docker push registry.christianbingman.com/personal-site:$COMMIT_TAG"
Expand Down

0 comments on commit 00da428

Please sign in to comment.