Skip to content

Commit 3ccca9a

Browse files
committed
Update build.yaml
1 parent 9164c29 commit 3ccca9a

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@ jobs:
4646
4747
- name: Build and push
4848
uses: docker/[email protected]
49-
env:
49+
with:
50+
files: docker-buildx.build.hcl
51+
push: true
52+
set: |
53+
*.cache-from=type=local,src=/tmp/.buildx-cache
54+
*.cache-to=type=local,mode=max,dest=/tmp/.buildx-cache-new
5055
ENV: ${{ vars.ENV }}
5156
WS_DOCKER_REGISTRY: ${{ vars.WS_DOCKER_REGISTRY }}
5257
@@ -58,14 +63,7 @@ jobs:
5863
WS_SMTP_PASS: ${{ secrets.WS_SMTP_PASS }}
5964
WS_TASKS_DB_PASS: ${{ secrets.WS_TASKS_DB_PASS }}
6065
WS_TASKS_SECRET_KEY: ${{ secrets.WS_TASKS_SECRET_KEY }}
61-
with:
62-
files: docker-buildx.build.hcl
63-
push: true
64-
set: |
65-
*.cache-from=type=local,src=/tmp/.buildx-cache
66-
*.cache-to=type=local,mode=max,dest=/tmp/.buildx-cache-new
67-
allow:
68-
"fs=/tmp"
66+
allow: "fs=/tmp"
6967

7068
#- name: Build and push
7169
# run: |

0 commit comments

Comments
 (0)