Skip to content

Commit

Permalink
fix: dockerfile and dockerfile location
Browse files Browse the repository at this point in the history
  • Loading branch information
nitin-vavdiya committed Sep 5, 2024
1 parent e739cdc commit 042292f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,11 @@ jobs:
- name: Push image
uses: docker/build-push-action@v5
with:
context: ./miw
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
file: ./miw/Dockerfile

# https://github.com/peter-evans/dockerhub-description
# Important step to push image description to DockerHub
Expand Down
2 changes: 1 addition & 1 deletion miw/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN apk add curl

USER miw

COPY ../LICENSE ../NOTICE.md ../DEPENDENCIES ../SECURITY.md ./build/libs/miw-latest.jar /app/
COPY LICENSE NOTICE.md DEPENDENCIES SECURITY.md ./miw/build/libs/miw-latest.jar /app/

WORKDIR /app

Expand Down

0 comments on commit 042292f

Please sign in to comment.