Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 44f4be7

Browse files
authored
Set buidkit to 1 to prevent pulling when image already present
1 parent e469535 commit 44f4be7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/actions/smoke-test/action.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ runs:
3030
run: |
3131
set -e
3232
33+
export DOCKER_BUILDKIT=1
34+
3335
# Symlink build scripts from main to improve security when testing PRs
3436
if [ -d "$GITHUB_WORKSPACE/__build/build" ]; then
3537
cd "$GITHUB_WORKSPACE/__build"
@@ -60,6 +62,8 @@ runs:
6062
run: |
6163
# Run test script for image if one exists
6264
65+
export DOCKER_BUILDKIT=1
66+
6367
if [ "${{ inputs.image }}" = "none" ]; then
6468
echo "Image not specified. Aborting test."
6569
exit 0
@@ -79,7 +83,7 @@ runs:
7983
&& \${sudo_cmd} groupmod -g ${local_gid} ${{ inputs.user }} \
8084
&& \${sudo_cmd} usermod -u ${local_uid} -g ${local_gid} ${{ inputs.user }}" > uid.Dockerfile
8185
cat uid.Dockerfile
82-
docker buildx build --load -t ${{ inputs.image }}-uid -f uid.Dockerfile .
86+
docker build -t ${{ inputs.image }}-uid -f uid.Dockerfile .
8387
8488
# Start container
8589
echo "(*) Starting container..."

0 commit comments

Comments
 (0)