Compare commits
1 Commits
v1.5.4-rc1
...
v0.2.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3f1d8adf6c |
3
build.sh
3
build.sh
@@ -12,12 +12,11 @@ docker run --rm -it -e CHOWN_ID=$(id -u) -v $(pwd)/dist:/source/target $DOCKER_I
|
||||
# Stupidest argparse ever
|
||||
if echo "$@" | grep -q -- '--images'; then
|
||||
./scripts/build-extra-images
|
||||
echo 'docker push rancher/ubuntuconsole'
|
||||
fi
|
||||
|
||||
# And again
|
||||
if echo "$@" | grep -q -- '--push'; then
|
||||
docker push rancher/ubuntuconsole
|
||||
docker push rancher/ubuntuconsole:$(<./scripts/version)
|
||||
fi
|
||||
|
||||
ls -l dist/artifacts
|
||||
|
||||
@@ -244,7 +244,7 @@ func NewConfig() *Config {
|
||||
"--ipc=host " +
|
||||
"--net=host " +
|
||||
"--pid=host " +
|
||||
"rancher/ubuntuconsole:v0.0.2",
|
||||
"rancher/ubuntuconsole:" + VERSION,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ source scripts/build-common
|
||||
|
||||
>${BUILD}/tags
|
||||
for i in scripts/extraimages/[0-9]*; do
|
||||
tag=$(echo $i | cut -f2 -d-)
|
||||
tag=$(echo $i | cut -f2 -d-):$(<scripts/version)
|
||||
echo Building $tag
|
||||
docker build -t rancher/$tag -f $i .
|
||||
echo $tag >> ${BUILD}/tags
|
||||
|
||||
@@ -1 +1 @@
|
||||
VERSION=v0.2.0
|
||||
VERSION=v0.2.1
|
||||
|
||||
Reference in New Issue
Block a user