Skip to content

Commit 67f4775

Browse files
authored
Merge pull request #209 from macbre/docker-cache-from
docker build - use --cache-from
2 parents b36e7b8 + 689aa4a commit 67f4775

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/dockerimage.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,7 @@ jobs:
1919
COMPOSE_DOCKER_CLI_BUILD: "1"
2020
DOCKER_BUILDKIT: "1"
2121
run: |
22-
docker build . --tag ${{ github.repository }}
22+
docker build . \
23+
--cache-from macbre/index-digest:latest \
24+
--tag ${{ github.repository }}
2325
docker images

0 commit comments

Comments
 (0)