Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjong committed Oct 9, 2024
1 parent 1ce6c3e commit 9c2982c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dockerfile_version_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
# Split current version into major, minor, patch
IFS='.' read -r current_major current_minor current_patch <<< "$version_on_main"
echo $(ls -l)
# Check if the image version for this image_name has been incremented in this PR
# version_this_branch=$(git diff origin/${{ github.base_ref }}...HEAD -- docker-compose.yaml | grep -oP "image: .*/$image_name:v\K[0-9]+\.[0-9]+\.[0-9]+") || echo "No version increment found."
version_this_branch=$(grep -oP "image: .*/$image_name:v\K[0-9]+\.[0-9]+\.[0-9]+" docker-compose.yaml)
Expand Down

0 comments on commit 9c2982c

Please sign in to comment.