1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01:00

add run-name for releases to include their workflow trigger (#2390)

* add run-name for releases to include their workflow trigger

* add edit for linter errors
This commit is contained in:
Opeyemi 2022-11-08 20:26:47 +00:00 committed by GitHub
parent 9d2938066b
commit a300643505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
---
name: Release
run-name: Release ${{ inputs.release_type }}
on:
workflow_dispatch:
@ -281,8 +282,7 @@ jobs:
DOCKER_CONTENT_TRUST: ${{ steps.check-matrix-dct.outputs.dct_enabled }}
DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE: ${{ steps.setup-dct.outputs.dct-delegate-repo-passphrase }}
SERVICE_NAME: ${{ steps.setup.outputs.service_name }}
run: |
docker push bitwarden/$SERVICE_NAME:$_RELEASE_VERSION
run: docker push bitwarden/$SERVICE_NAME:$_RELEASE_VERSION
- name: Log out of Docker and disable Docker Notary
if: matrix.origin_docker_repo == 'bitwarden'
@ -328,8 +328,7 @@ jobs:
env:
SERVICE_NAME: ${{ steps.setup.outputs.service_name }}
REGISTRY: bitwardenqa.azurecr.io
run: |
docker push $REGISTRY/$SERVICE_NAME:$_RELEASE_VERSION
run: docker push $REGISTRY/$SERVICE_NAME:$_RELEASE_VERSION
- name: Log out of Docker
run: docker logout
@ -363,8 +362,7 @@ jobs:
env:
SERVICE_NAME: ${{ steps.setup.outputs.service_name }}
REGISTRY: bitwardenprod.azurecr.io
run: |
docker push $REGISTRY/$SERVICE_NAME:$_RELEASE_VERSION
run: docker push $REGISTRY/$SERVICE_NAME:$_RELEASE_VERSION
- name: Log out of Docker
if: matrix.prod_acr == true