mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 21:18:13 -05:00
Remove tagging Docker images latest on release (#2098)
This commit is contained in:
parent
54cf3de11b
commit
4b43951b59
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -202,7 +202,6 @@ jobs:
|
|||||||
docker tag bitwarden/$SERVICE_NAME:latest bitwarden/$SERVICE_NAME:dryrun
|
docker tag bitwarden/$SERVICE_NAME:latest bitwarden/$SERVICE_NAME:dryrun
|
||||||
else
|
else
|
||||||
docker tag bitwarden/$SERVICE_NAME:$_BRANCH_NAME bitwarden/$SERVICE_NAME:$_RELEASE_VERSION
|
docker tag bitwarden/$SERVICE_NAME:$_BRANCH_NAME bitwarden/$SERVICE_NAME:$_RELEASE_VERSION
|
||||||
docker tag bitwarden/$SERVICE_NAME:$_BRANCH_NAME bitwarden/$SERVICE_NAME:latest
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Push version and latest image
|
- name: Push version and latest image
|
||||||
@ -213,7 +212,6 @@ jobs:
|
|||||||
SERVICE_NAME: ${{ steps.setup.outputs.service_name }}
|
SERVICE_NAME: ${{ steps.setup.outputs.service_name }}
|
||||||
run: |
|
run: |
|
||||||
docker push bitwarden/$SERVICE_NAME:$_RELEASE_VERSION
|
docker push bitwarden/$SERVICE_NAME:$_RELEASE_VERSION
|
||||||
docker push bitwarden/$SERVICE_NAME:latest
|
|
||||||
|
|
||||||
- name: Log out of Docker and disable Docker Notary
|
- name: Log out of Docker and disable Docker Notary
|
||||||
run: |
|
run: |
|
||||||
@ -238,7 +236,6 @@ jobs:
|
|||||||
docker tag bitwarden/$SERVICE_NAME:latest $REGISTRY/$SERVICE_NAME:dryrun
|
docker tag bitwarden/$SERVICE_NAME:latest $REGISTRY/$SERVICE_NAME:dryrun
|
||||||
else
|
else
|
||||||
docker tag bitwarden/$SERVICE_NAME:$_BRANCH_NAME $REGISTRY/$SERVICE_NAME:$_RELEASE_VERSION
|
docker tag bitwarden/$SERVICE_NAME:$_BRANCH_NAME $REGISTRY/$SERVICE_NAME:$_RELEASE_VERSION
|
||||||
docker tag bitwarden/$SERVICE_NAME:$_BRANCH_NAME $REGISTRY/$SERVICE_NAME:latest
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Push version and latest image
|
- name: Push version and latest image
|
||||||
@ -248,7 +245,6 @@ jobs:
|
|||||||
REGISTRY: bitwardenqa.azurecr.io
|
REGISTRY: bitwardenqa.azurecr.io
|
||||||
run: |
|
run: |
|
||||||
docker push $REGISTRY/$SERVICE_NAME:$_RELEASE_VERSION
|
docker push $REGISTRY/$SERVICE_NAME:$_RELEASE_VERSION
|
||||||
docker push $REGISTRY/$SERVICE_NAME:latest
|
|
||||||
|
|
||||||
- name: Log out of Docker
|
- name: Log out of Docker
|
||||||
run: docker logout
|
run: docker logout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user