mirror of
https://github.com/aevea/action-kaniko.git
synced 2025-01-30 22:09:37 +01:00
24 lines
442 B
Makefile
24 lines
442 B
Makefile
build:
|
|
docker build -t aevea/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 \
|
|
aevea/kaniko
|
|
|
|
shell: build
|
|
docker run \
|
|
-ti \
|
|
--entrypoint sh \
|
|
aevea/kaniko
|