Skip to content

Commit 8fa69bf

Browse files
committed
Update build.yaml
1 parent 1933099 commit 8fa69bf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ jobs:
4242
key: ${{ runner.os }}-buildx-${{ github.sha }}
4343
restore-keys: |
4444
${{ runner.os }}-buildx-
45-
46-
- name: Move new cache
47-
run: |
48-
rm -rf /tmp/.buildkit-cache
49-
mv /tmp/.buildkit-cache-new /tmp/.buildkit-cache
5045
5146
- name: Build and push
5247
run: docker compose -f docker-compose.build.yml --env-file tdei_uw.env build --push --build-arg CODE_VERSION=${CODE_VERSION}
@@ -64,6 +59,11 @@ jobs:
6459
WS_TASKS_DB_PASS: ${{ secrets.WS_TASKS_DB_PASS }}
6560
WS_TASKS_SECRET_KEY: ${{ secrets.WS_TASKS_SECRET_KEY }}
6661

62+
- name: Move new cache
63+
run: |
64+
rm -rf /tmp/.buildkit-cache
65+
mv /tmp/.buildkit-cache-new /tmp/.buildkit-cache
66+
6767
- name: Deploy
6868
env:
6969
ENV: ${{ vars.ENV }}

0 commit comments

Comments
 (0)