From a0a21cc91323b5a21af80de626cae5956fa2747b Mon Sep 17 00:00:00 2001 From: Kunchala Vikram Date: Sat, 30 Dec 2023 23:44:42 +0530 Subject: [PATCH] Update maven-build.yml --- .github/workflows/maven-build.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index 9e3336fe6..9d81d35f8 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -24,13 +24,13 @@ jobs: run: | mvn -B package ls -al ${{ github.workspace }}/target - - name: Upload Artifact - uses: actions/upload-artifact@v4 - with: - name: war-file - path: target/*.war - if-no-files-found: 'error' - retention-days: 1 day + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: war-file + path: target/*.war + if-no-files-found: 'error' + retention-days: 1 day dockerize: runs-on: ubuntu-latest @@ -40,5 +40,5 @@ jobs: with: name: war-file path: target/*.war - - name: Dockerize the Application - run: docker build -t ${{ env.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME}}:${{ github.run_number }} . + - name: Dockerize the Application + run: docker build -t ${{ env.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME}}:${{ github.run_number }} .