File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 4343 name : Publish Docker Image to Docker Hub
4444 command : |
4545 echo "$DOCKERHUB_TOKEN" | docker login -u "$DOCKERHUB_USER" --password-stdin
46- docker tag $SIDECAR_IMAGE:latest $SIDECAR_IMAGE:alpha
47- docker push $SIDECAR_IMAGE:alpha
46+ VERSION=${CIRCLE_TAG/sidecar-v/''}
47+ docker tag $SIDECAR_IMAGE:latest $SIDECAR_IMAGE:$VERSION
48+ docker push $SIDECAR_IMAGE:$VERSION
4849 docker push $SIDECAR_IMAGE:latest
4950 operator-build :
5051 executor : docker
8283 name : Publish Docker Image to Docker Hub
8384 command : |
8485 echo "$DOCKERHUB_TOKEN" | docker login -u "$DOCKERHUB_USER" --password-stdin
85- docker tag $OPERATOR_IMAGE:latest $OPERATOR_IMAGE:alpha
86- docker push $OPERATOR_IMAGE:alpha
86+ VERSION=${CIRCLE_TAG/operator-v/''}
87+ docker tag $OPERATOR_IMAGE:latest $OPERATOR_IMAGE:$VERSION
88+ docker push $OPERATOR_IMAGE:$VERSION
8789 docker push $OPERATOR_IMAGE:latest
8890workflows :
8991 version : 2
You can’t perform that action at this time.
0 commit comments