diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 5548727..0000000 --- a/.dockerignore +++ /dev/null @@ -1 +0,0 @@ -build/libs \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7f0445a..40961b6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,9 @@ jobs: touch ./application.yml echo "${{ secrets.APPLICATION }}" > ./application.yml + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: set chmod run: chmod +x ./gradlew @@ -37,7 +40,6 @@ jobs: run: | docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} docker build -t sopo . - docker tag sopo ${{ secrets.DOCKER_USERNAME }}/sopo:latest docker push ${{ secrets.DOCKER_USERNAME }}/sopo:latest - name: Deploy with SSH