Skip to content

Commit 3415773

Browse files
committed
Updated github workflow
1 parent 09dd05e commit 3415773

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/docker-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
steps:
1313
- name: Checkout repository
1414
uses: actions/checkout@v3
15+
- name: Docker build cache
16+
uses: satackey/action-docker-layer-caching@v0.0.8
17+
continue-on-error: true
1518
- name: Copy .env.sample to .env
1619
run: cp .env.sample .env
1720
- name: For php8.1

.github/workflows/docker-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Docker Publish
22

33
on:
44
schedule:
5-
- cron: '36 4 * * *'
5+
- cron: '30 10 * * *'
66
push:
77
branches: [ main ]
88

@@ -14,6 +14,9 @@ jobs:
1414
steps:
1515
- name: Checkout repository
1616
uses: actions/checkout@v3
17+
- name: Docker build cache
18+
uses: satackey/action-docker-layer-caching@v0.0.8
19+
continue-on-error: true
1720
- name: Docker Login
1821
env:
1922
DOCKER_USER: ${{secrets.DOCKER_USER}}

0 commit comments

Comments
 (0)