mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
Fix remaining docker image names (#910)
I missed a few (very important steps) that were setting the image name
This commit is contained in:
committed by
Aaron Schlesinger
parent
bee463053a
commit
1295637a7e
@@ -34,10 +34,10 @@ fi
|
||||
|
||||
REPO_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." >/dev/null && pwd )/"
|
||||
|
||||
docker build --build-arg VERSION=${VERSION} -t ${REGISTRY}proxy:${VERSION} -f ${REPO_DIR}cmd/proxy/Dockerfile ${REPO_DIR}
|
||||
docker build --build-arg VERSION=${VERSION} -t ${REGISTRY}athens:${VERSION} -f ${REPO_DIR}cmd/proxy/Dockerfile ${REPO_DIR}
|
||||
|
||||
# Apply the mutable tag to the immutable version
|
||||
docker tag ${REGISTRY}proxy:${VERSION} ${REGISTRY}proxy:${MUTABLE_TAG}
|
||||
docker tag ${REGISTRY}athens:${VERSION} ${REGISTRY}athens:${MUTABLE_TAG}
|
||||
|
||||
docker push ${REGISTRY}proxy:${VERSION}
|
||||
docker push ${REGISTRY}proxy:${MUTABLE_TAG}
|
||||
docker push ${REGISTRY}athens:${VERSION}
|
||||
docker push ${REGISTRY}athens:${MUTABLE_TAG}
|
||||
|
||||
Reference in New Issue
Block a user