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

10 lines
No EOL
263 B
Bash
Executable file

# Use this to build and run the docker image locally
set -e
WORKSPACE_DIR=/workspace
docker build -t action-kaniko ./
docker run --rm \
-w ${WORKSPACE_DIR} \
-v $PWD/ais-build.yaml:${WORKSPACE_DIR}/ais-build.yaml \
--env-file .env \
action-kaniko