Skip to content

Commit

Permalink
fix(CD): working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
otahirs authored Sep 12, 2024
1 parent 9158395 commit c075892
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/backend_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@ jobs:
echo "::set-output name=image_tag::$TAG"
- name: Build and Publish Docker Image
working-directory: backend
run: |
./backend/gradlew bootBuildImage --imageName=ghcr.io/${{ github.repository }}:${{ steps.tag.outputs.image_tag }}
./backend/gradlew bootBuildImage --imageName=ghcr.io/${{ github.repository }}:latest
# Build the Docker image and tag it with both the dynamic tag and 'latest'
./gradlew bootBuildImage \
--imageName=ghcr.io/${{ github.repository }}:${{ steps.tag.outputs.tag }} \
--imageName=ghcr.io/${{ github.repository }}:latest
- name: Verify image
run: docker images

0 comments on commit c075892

Please sign in to comment.