cleanup for next version

This commit is contained in:
Nicholas St. Germain 2019-01-16 13:12:57 -06:00
parent 46c656219f
commit 106e0534b1
2 changed files with 9 additions and 7 deletions

View file

@ -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