1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 05:00:19 -05:00

Remove tagging Docker images latest on release (#2098)

This commit is contained in:
Michał Chęciński 2022-07-13 15:44:57 +02:00 committed by GitHub
parent 54cf3de11b
commit 4b43951b59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,7 +202,6 @@ jobs:
docker tag bitwarden/$SERVICE_NAME:latest bitwarden/$SERVICE_NAME:dryrun
else
docker tag bitwarden/$SERVICE_NAME:$_BRANCH_NAME bitwarden/$SERVICE_NAME:$_RELEASE_VERSION
docker tag bitwarden/$SERVICE_NAME:$_BRANCH_NAME bitwarden/$SERVICE_NAME:latest
fi
- name: Push version and latest image
@ -213,7 +212,6 @@ jobs:
SERVICE_NAME: ${{ steps.setup.outputs.service_name }}
run: |
docker push bitwarden/$SERVICE_NAME:$_RELEASE_VERSION
docker push bitwarden/$SERVICE_NAME:latest
- name: Log out of Docker and disable Docker Notary
run: |
@ -238,7 +236,6 @@ jobs:
docker tag bitwarden/$SERVICE_NAME:latest $REGISTRY/$SERVICE_NAME:dryrun
else
docker tag bitwarden/$SERVICE_NAME:$_BRANCH_NAME $REGISTRY/$SERVICE_NAME:$_RELEASE_VERSION
docker tag bitwarden/$SERVICE_NAME:$_BRANCH_NAME $REGISTRY/$SERVICE_NAME:latest
fi
- name: Push version and latest image
@ -248,7 +245,6 @@ jobs:
REGISTRY: bitwardenqa.azurecr.io
run: |
docker push $REGISTRY/$SERVICE_NAME:$_RELEASE_VERSION
docker push $REGISTRY/$SERVICE_NAME:latest
- name: Log out of Docker
run: docker logout