From a300643505aa034fd2dab57ca827e4a9c3a2f60e Mon Sep 17 00:00:00 2001 From: Opeyemi <54288773+Eebru-gzy@users.noreply.github.com> Date: Tue, 8 Nov 2022 20:26:47 +0000 Subject: [PATCH] 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 --- .github/workflows/release.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 98bb40c8f4..0024acdee9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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