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:
parent
9d2938066b
commit
a300643505
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user