Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chanyoung1998 authored Jul 15, 2024
1 parent ed655d5 commit a903468
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,10 @@ jobs:
run: |
cd ./dplanner
chmod +x ./gradlew
./gradlew clean build --build-cache -x test
./gradlew clean build -x test
- name: Cache PhysicalTheraphy build directory
uses: actions/cache@v3
with:
path: ./
key: ${{ runner.os }}-physicaltheraphy-build-cache-${{ steps.short-sha.outputs.sha }}

- name: Build Docker image
run: sudo docker build -t dplanner/api:${{ env.DOCKER_IMAGE_VERSION }} -f ./dplanner/deploy/Dockerfile . --platform linux/x86_64
run: sudo docker build --no-cache -t dplanner/api:${{ env.DOCKER_IMAGE_VERSION }} -f ./dplanner/deploy/Dockerfile ./dplanner --platform linux/x86_64

- name: Log in to Docker Hub
uses: docker/login-action@v1
Expand Down

0 comments on commit a903468

Please sign in to comment.