mirror of
https://github.com/bitwarden/server
synced 2025-12-29 06:33:43 +00:00
Hotfix/release workflow (#1671)
* fixing release workflow app service deploys * adding the release branch as a conditional to the docker-stub build * Add in missing 'if' statement for 'release' branch in Docker Stub step Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -371,10 +371,12 @@ jobs:
|
||||
run: dotnet tool restore
|
||||
|
||||
- name: Make Docker stub
|
||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc'
|
||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc' || github.ref == 'refs/heads/release'
|
||||
run: |
|
||||
if [[ "${{ github.ref }}" == "rc" ]]; then
|
||||
SETUP_IMAGE="bitwarden/setup:rc"
|
||||
elif [[ "${{ github.ref }}" == "release" ]]; then
|
||||
SETUP_IMAGE="bitwarden/setup:latest"
|
||||
else
|
||||
SETUP_IMAGE="bitwarden/setup:dev"
|
||||
fi
|
||||
@@ -389,7 +391,7 @@ jobs:
|
||||
cd docker-stub; zip -r ../docker-stub.zip *; cd ..
|
||||
|
||||
- name: Upload Docker stub artifact
|
||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc'
|
||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc' || github.ref == 'refs/heads/release'
|
||||
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
|
||||
with:
|
||||
name: docker-stub.zip
|
||||
|
||||
Reference in New Issue
Block a user