cleanup for next version
This commit is contained in:
parent
46c656219f
commit
106e0534b1
2 changed files with 9 additions and 7 deletions
10
deploy.sh
10
deploy.sh
|
@ -19,13 +19,15 @@ echo "$DOCKER_PASSWORD" | docker login -u="$DOCKER_USER" --password-stdin
|
|||
|
||||
# Latest x64
|
||||
docker build -t "${NAMESPACE}:latest" . && \
|
||||
docker push "${NAMESPACE}:latest" && \
|
||||
# Versioned x64
|
||||
docker tag "${NAMESPACE}:latest" "${NAMESPACE}:${VERSION}" && \
|
||||
docker push "${NAMESPACE}:${VERSION}" && \
|
||||
docker push "${NAMESPACE}:latest"
|
||||
# x64 Arch
|
||||
docker tag "${NAMESPACE}:latest" "${NAMESPACE}:latest-amd64" && \
|
||||
docker push "${NAMESPACE}:latest-amd64"
|
||||
# Versioned x64
|
||||
docker tag "${NAMESPACE}:latest" "${NAMESPACE}:${VERSION}" && \
|
||||
docker push "${NAMESPACE}:${VERSION}"
|
||||
docker tag "${NAMESPACE}:latest" "${NAMESPACE}:${VERSION}-amd64" && \
|
||||
docker push "${NAMESPACE}:${VERSION}-amd64"
|
||||
|
||||
# Prepare qemu for ARM builds
|
||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue