update tag names for builds
This commit is contained in:
parent
ddec0b1bb9
commit
08a6bb2b5d
1 changed files with 7 additions and 7 deletions
14
build
14
build
|
@ -17,13 +17,13 @@ fi
|
||||||
docker build -t refractr:$version -t refractr:$major_version -t refractr:latest \
|
docker build -t refractr:$version -t refractr:$major_version -t refractr:latest \
|
||||||
--build-arg VERSION=$version --build-arg DATE="$date" -f docker/Dockerfile .
|
--build-arg VERSION=$version --build-arg DATE="$date" -f docker/Dockerfile .
|
||||||
if [ "$1" = "push" ]; then
|
if [ "$1" = "push" ]; then
|
||||||
docker tag refractr:$version git.brysonsteck.xyz/brysonsteck/refractr:latest
|
docker tag refractr:$version forge.steck.dev/bryson/refractr:latest
|
||||||
docker tag refractr:$version git.brysonsteck.xyz/brysonsteck/refractr:$version
|
docker tag refractr:$version forge.steck.dev/bryson/refractr:$version
|
||||||
docker tag refractr:$version git.brysonsteck.xyz/brysonsteck/refractr:$major_version
|
docker tag refractr:$version forge.steck.dev/bryson/refractr:$major_version
|
||||||
docker push -a git.brysonsteck.xyz/brysonsteck/refractr
|
docker push -a forge.steck.dev/bryson/refractr
|
||||||
docker image rm git.brysonsteck.xyz/brysonsteck/refractr:latest
|
docker image rm forge.steck.dev/bryson/refractr:latest
|
||||||
docker image rm git.brysonsteck.xyz/brysonsteck/refractr:$version
|
docker image rm forge.steck.dev/bryson/refractr:$version
|
||||||
docker image rm git.brysonsteck.xyz/brysonsteck/refractr:$major_version
|
docker image rm forge.steck.dev/bryson/refractr:$major_version
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# rust build
|
# rust build
|
||||||
|
|
Loading…
Add table
Reference in a new issue