Skip to content

Commit

Permalink
Remove tagging Docker images latest on release
Browse files Browse the repository at this point in the history
  • Loading branch information
michalchecinski committed Jul 5, 2022
1 parent ee5946c commit f60c90c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f60c90c

Please sign in to comment.