Skip to content

Commit 1e8de1c

Browse files
committed
fix: performance
1 parent 618b569 commit 1e8de1c

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/build-and-run.yml

+1-9
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818

19-
- name: Cache Docker layers
20-
uses: actions/cache@v3
21-
with:
22-
path: /tmp/.buildx-cache
23-
key: ${{ runner.os }}-docker-${{ github.sha }}
24-
restore-keys: |
25-
${{ runner.os }}-docker-
26-
2719
- name: Create PostgreSQL data directory
2820
run: |
2921
sudo mkdir -p /root/mydata/postgresql-data
@@ -33,4 +25,4 @@ jobs:
3325
run: sudo docker compose down || true
3426

3527
- name: Build and start Docker containers
36-
run: sudo docker compose up -d --build --cache-from type=local,src=/tmp/.buildx-cache --cache-to type=local,dest=/tmp/.buildx-cache
28+
run: sudo docker compose up -d --build

0 commit comments

Comments
 (0)