Skip to content

Commit

Permalink
Improve version extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyTran732 authored Jan 4, 2025
1 parent a4fe48f commit ad3e6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Get version
run: |
echo "FULL_VERSION=$(grep -oP '(?<=VERSION=).*' latest/Dockerfile)" >> $GITHUB_ENV
echo "FULL_VERSION=$(grep -oP -m 1 '(?<=VERSION=).*' latest/Dockerfile)" >> $GITHUB_ENV
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down

0 comments on commit ad3e6b6

Please sign in to comment.