Skip to content

Commit cef1423

Browse files
authored
Update publish_docker_image.yml
Use BuildKit
1 parent d9bf45b commit cef1423

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish_docker_image.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
run: echo "DOCKER_TAG=${DOCKER_REPOSITORY}/${DOCKER_IMAGE_NAME}:${GITHUB_REF:10}" >> $GITHUB_ENV
2525

2626
- name: Build the Docker image
27+
env:
28+
# @see https://docs.docker.com/develop/develop-images/build_enhancements/
29+
COMPOSE_DOCKER_CLI_BUILD: "1"
30+
DOCKER_BUILDKIT: "1"
2731
run: docker build . --tag ${DOCKER_TAG} --build-arg GITHUB_SHA=${GITHUB_SHA}
2832

2933
# https://docs.github.com/en/free-pro-team@latest/actions/reference/authentication-in-a-workflow

0 commit comments

Comments
 (0)