Skip to content

Commit

Permalink
chore: update docker image build
Browse files Browse the repository at this point in the history
  • Loading branch information
v03413 committed Sep 27, 2024
1 parent 3767cc7 commit bd5f85b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Generate App Version
run: echo APP_VERSION=`grep -o 'Version = "[^"]*"' ./main/main.go | cut -d'"' -f2` >> $GITHUB_ENV
run: echo APP_VERSION=`grep -o 'Version = "[^"]*"' ./app/version.go | cut -d'"' -f2` >> $GITHUB_ENV
- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
platforms: |
Expand Down

0 comments on commit bd5f85b

Please sign in to comment.