Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr authored Nov 25, 2023
1 parent ab89d99 commit 5471977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
run: |
image_version=$(date +'%Y.%m.%d')
# Check how many tags already exist for the current date and increment the version
count=$(oras repo tags "ghcr.io/diracgrid/diracx/base" | grep -c "${image_version}" || echo "0"
count=$(oras repo tags "ghcr.io/diracgrid/diracx/base" | grep -c "${image_version}" || echo "0")
image_version=${image_version}.${count}
echo "Pushing version ${image_version}"
Expand Down

0 comments on commit 5471977

Please sign in to comment.