Repo korrigiert in build-script
This commit is contained in:
parent
c2c424036a
commit
934b609947
1 changed files with 5 additions and 4 deletions
|
@ -1,11 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
docker build -t git.az-it.net/az/oiliversum-platzierungstool:latest . && docker push git.az-it.net/az/oiliversum-platzierungstool:latest
|
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Repository-Name
|
# Repository-Name
|
||||||
REPO="git.az-it.net/az/linuxmuster-voucher"
|
REPO="git.az-it.net/az/linuxmuster-voucher"
|
||||||
|
|
||||||
|
docker build -t ${REPO}:latest . && docker push ${REPO}:latest
|
||||||
|
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
# Suche nach vorhandenen Tags im lokalen Docker-System
|
# Suche nach vorhandenen Tags im lokalen Docker-System
|
||||||
LATEST_TAG=$(docker images --format "{{.Repository}}:{{.Tag}}" | grep "$REPO" | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+" | sort -V | tail -n 1)
|
LATEST_TAG=$(docker images --format "{{.Repository}}:{{.Tag}}" | grep "$REPO" | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+" | sort -V | tail -n 1)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue