diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cb187bb..f29f461 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,6 +36,9 @@ jobs: - name: build server run: ./gradlew build -x test -DSENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }} + - name: move jar file to deploy api + run: mv ./build/libs/*.jar ./deploy/api/ + - name: docker arm64 build set up - qemu uses: docker/setup-qemu-action@v2 diff --git a/deploy/api/Dockerfile b/deploy/api/Dockerfile index 4be5709..e74a7a1 100644 --- a/deploy/api/Dockerfile +++ b/deploy/api/Dockerfile @@ -9,7 +9,7 @@ ARG REDIS_PORT ARG INTERNAL_SECRET ARG SLACK_TOKEN -ARG JAR_FILE=./build/libs/*.jar +ARG JAR_FILE=./*.jar COPY ${JAR_FILE} gitanimals-render.jar ENV db_url=${DB_URL} \