mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
Added version arg for compile-image.sh
This commit is contained in:
parent
77a52f4586
commit
738397ecae
1 changed files with 10 additions and 1 deletions
|
@ -1,7 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
default_version="dev-testing"
|
||||
version=$1
|
||||
|
||||
if [[ -z "$1" ]]
|
||||
then
|
||||
echo "Using default version: ${default_version}"
|
||||
version="${default_version}"
|
||||
fi
|
||||
|
||||
hub_user_name="nirmata"
|
||||
project_name="kube-policy"
|
||||
version="latest"
|
||||
|
||||
echo "# Ensuring Go dependencies..."
|
||||
dep ensure || exit 2
|
||||
|
|
Loading…
Add table
Reference in a new issue