1
0
Fork 0
mirror of https://github.com/aevea/action-kaniko.git synced 2025-04-20 09:08:14 +02:00
action-kaniko/Makefile
klfgit 161b9576a7
Build setup (#1)
add multi-image support
2021-12-08 15:39:19 -05:00

24 lines
445 B
Makefile

build:
docker build -t ohioit/kaniko .
run: build
docker run \
-v $(shell pwd):/tmp \
-e GITHUB_REPOSITORY \
-e GITHUB_REF \
-e GITHUB_ACTOR \
-e GITHUB_TOKEN \
-e GITHUB_WORKSPACE="/tmp" \
-e INPUT_IMAGE \
-e INPUT_CACHE \
-e INPUT_CACHE_TTL \
-e INPUT_CACHE_REGISTRY \
-e INPUT_STRIP_TAG_PREFIX \
-e INPUT_SKIP_UNCHANGED_DIGEST \
ohioit/kaniko
shell: build
docker run \
-ti \
--entrypoint sh \
ohioit/kaniko