diff --git a/.dockerignore b/.dockerignore index c9c8ccc..e53007c 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,3 @@ * !entrypoint.sh - +.env* diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..dcf9cdd --- /dev/null +++ b/Makefile @@ -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