mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 13:08:17 -05: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
|
name: Release
|
||||||
|
run-name: Release ${{ inputs.release_type }}
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@ -281,8 +282,7 @@ jobs:
|
|||||||
DOCKER_CONTENT_TRUST: ${{ steps.check-matrix-dct.outputs.dct_enabled }}
|
DOCKER_CONTENT_TRUST: ${{ steps.check-matrix-dct.outputs.dct_enabled }}
|
||||||
DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE: ${{ steps.setup-dct.outputs.dct-delegate-repo-passphrase }}
|
DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE: ${{ steps.setup-dct.outputs.dct-delegate-repo-passphrase }}
|
||||||
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
|
|
||||||
|
|
||||||
- name: Log out of Docker and disable Docker Notary
|
- name: Log out of Docker and disable Docker Notary
|
||||||
if: matrix.origin_docker_repo == 'bitwarden'
|
if: matrix.origin_docker_repo == 'bitwarden'
|
||||||
@ -328,8 +328,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SERVICE_NAME: ${{ steps.setup.outputs.service_name }}
|
SERVICE_NAME: ${{ steps.setup.outputs.service_name }}
|
||||||
REGISTRY: bitwardenqa.azurecr.io
|
REGISTRY: bitwardenqa.azurecr.io
|
||||||
run: |
|
run: docker push $REGISTRY/$SERVICE_NAME:$_RELEASE_VERSION
|
||||||
docker push $REGISTRY/$SERVICE_NAME:$_RELEASE_VERSION
|
|
||||||
|
|
||||||
- name: Log out of Docker
|
- name: Log out of Docker
|
||||||
run: docker logout
|
run: docker logout
|
||||||
@ -363,8 +362,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SERVICE_NAME: ${{ steps.setup.outputs.service_name }}
|
SERVICE_NAME: ${{ steps.setup.outputs.service_name }}
|
||||||
REGISTRY: bitwardenprod.azurecr.io
|
REGISTRY: bitwardenprod.azurecr.io
|
||||||
run: |
|
run: docker push $REGISTRY/$SERVICE_NAME:$_RELEASE_VERSION
|
||||||
docker push $REGISTRY/$SERVICE_NAME:$_RELEASE_VERSION
|
|
||||||
|
|
||||||
- name: Log out of Docker
|
- name: Log out of Docker
|
||||||
if: matrix.prod_acr == true
|
if: matrix.prod_acr == true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user