Add release logic for 'web-sh' image (#1573)

This commit is contained in:
Vince Grassia 2022-03-30 17:21:00 -04:00 committed by GitHub
parent e1c0c9f009
commit 2652a2deae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -137,6 +137,9 @@ jobs:
else else
docker tag bitwarden/web:$_BRANCH_NAME $REGISTRY/web:$_RELEASE_VERSION docker tag bitwarden/web:$_BRANCH_NAME $REGISTRY/web:$_RELEASE_VERSION
docker tag bitwarden/web:$_BRANCH_NAME $REGISTRY/web:latest docker tag bitwarden/web:$_BRANCH_NAME $REGISTRY/web:latest
docker tag bitwarden/web:$_BRANCH_NAME $REGISTRY/web-sh:$_RELEASE_VERSION
docker tag bitwarden/web:$_BRANCH_NAME $REGISTRY/web-sh:latest
fi fi
- name: Push version and latest image - name: Push version and latest image
@ -147,6 +150,9 @@ jobs:
docker push $REGISTRY/web:$_RELEASE_VERSION docker push $REGISTRY/web:$_RELEASE_VERSION
docker push $REGISTRY/web:latest docker push $REGISTRY/web:latest
docker push $REGISTRY/web-sh:$_RELEASE_VERSION
docker push $REGISTRY/web-sh:latest
- name: Log out of Docker - name: Log out of Docker
run: docker logout run: docker logout