1
0
Fork 0
mirror of https://github.com/aevea/action-kaniko.git synced 2025-01-30 13:59:38 +01:00

chore: Add Makefile for easier development

This commit is contained in:
Alex Viscreanu 2020-06-19 13:18:40 +02:00
parent edea218783
commit c076596480
2 changed files with 25 additions and 1 deletions

View file

@ -1,3 +1,3 @@
*
!entrypoint.sh
.env*

24
Makefile Normal file
View file

@ -0,0 +1,24 @@
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