Skip to content

Commit

Permalink
fix: Fixed version file location
Browse files Browse the repository at this point in the history
  • Loading branch information
satran004 committed May 6, 2024
1 parent 79768df commit 872c750
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: docker login --username "$DOCKERHUB_USERNAME" --password "$DOCKERHUB_TOKEN"
- name: 'Get Tag from version file'
run: |
TAG=$(grep "tag=" version | cut -d'=' -f2)
TAG=$(grep "tag=" config/version | cut -d'=' -f2)
echo "TAG=${TAG}" >> $GITHUB_ENV
- name: Run build
run: earthly --push +build-all-platforms --tag ${{ env.TAG }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4
- name: 'Get Tag from version file'
run: |
TAG=$(grep "tag=" version | cut -d'=' -f2)
TAG=$(grep "tag=" config/version | cut -d'=' -f2)
echo "TAG=${TAG}" >> $GITHUB_ENV
- name: Run build
run: earthly +build-all-platforms --tag dev
run: earthly +build-all-platforms --tag ${{ env.TAG }}

0 comments on commit 872c750

Please sign in to comment.