fix(docker): Fixing ws docker push (#22303)

This commit is contained in:
Craig Rueda 2022-12-01 08:11:04 -08:00 committed by GitHub
parent 347eec8717
commit 2bdf22b215
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -60,9 +60,9 @@ docker build --target lean \
# Build the "websocket" image
#
docker build \
-t "${REPO_NAME}-websocket:${SHA}" \
-t "${REPO_NAME}-websocket:${REFSPEC}" \
-t "${REPO_NAME}-websocket:${LATEST_TAG}" \
-t "${REPO_NAME}:${SHA}-websocket" \
-t "${REPO_NAME}:${REFSPEC}-websocket" \
-t "${REPO_NAME}:${LATEST_TAG}-websocket" \
--label "sha=${SHA}" \
--label "built_at=$(date)" \
--label "target=lean" \
@ -90,5 +90,4 @@ else
docker logout
docker login --username "${DOCKERHUB_USER}" --password "${DOCKERHUB_TOKEN}"
docker push --all-tags "${REPO_NAME}"
docker push --all-tags "${REPO_NAME}-websocket"
fi