mirror of
https://github.com/aevea/action-kaniko.git
synced 2025-04-20 09:08:14 +02:00
10 lines
No EOL
263 B
Bash
Executable file
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 |