Skip to content

Commit c1427ec

Browse files
kanlacKan
authored and
Kan
committed
add e2e test
1 parent 4591a2b commit c1427ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/e2e.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ jobs:
6363
echo platform is ${PLATFORM}
6464
# Build and run the ko binary, which should be runnable.
6565
docker run $(go run ./ build ./ --platform=${PLATFORM} --preserve-import-paths) version
66+
# Build and run the ko binary with the scratch base image, which should be runnable.
67+
docker run $(KO_DEFAULTBASEIMAGE=scratch go run ./ build ./ --platform=${PLATFORM} --preserve-import-paths) version
6668
6769
# Build and run the test/ binary, which should log "Hello there" served from KO_DATA_PATH
6870
testimg=$(go run ./ build ./test --platform=${PLATFORM} --preserve-import-paths)

0 commit comments

Comments
 (0)