From 042292f1d4ebf6018721af1f748f3598ee619aa9 Mon Sep 17 00:00:00 2001 From: Nitin Vavdiya Date: Mon, 17 Jun 2024 16:28:49 +0530 Subject: [PATCH] fix: dockerfile and dockerfile location --- .github/workflows/release.yml | 3 ++- miw/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f4d31cbf..41ec6790 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/miw/Dockerfile b/miw/Dockerfile index c92d9245..d0860a6f 100644 --- a/miw/Dockerfile +++ b/miw/Dockerfile @@ -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