mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
Add Docker Stub Checksum (#1888)
This commit is contained in:
parent
4ecfc66877
commit
3cefd5fd5d
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -403,12 +403,24 @@ jobs:
|
|||||||
touch $STUB_OUTPUT/env/uid.env
|
touch $STUB_OUTPUT/env/uid.env
|
||||||
cd docker-stub; zip -r ../docker-stub.zip *; cd ..
|
cd docker-stub; zip -r ../docker-stub.zip *; cd ..
|
||||||
|
|
||||||
|
- name: Make Docker stub checksum
|
||||||
|
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc' || github.ref == 'refs/heads/hotfix-rc'
|
||||||
|
run: sha256sum docker-stub.zip > docker-stub-sha256.txt
|
||||||
|
|
||||||
- name: Upload Docker stub artifact
|
- name: Upload Docker stub artifact
|
||||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc' || github.ref == 'refs/heads/hotfix-rc'
|
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc' || github.ref == 'refs/heads/hotfix-rc'
|
||||||
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
|
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
|
||||||
with:
|
with:
|
||||||
name: docker-stub.zip
|
name: docker-stub.zip
|
||||||
path: ./docker-stub.zip
|
path: docker-stub.zip
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
|
- name: Upload Docker stub checksum artifact
|
||||||
|
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc' || github.ref == 'refs/heads/hotfix-rc'
|
||||||
|
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
|
||||||
|
with:
|
||||||
|
name: docker-stub-sha256.txt
|
||||||
|
path: docker-stub-sha256.txt
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Build Swagger
|
- name: Build Swagger
|
||||||
@ -433,7 +445,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
|
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
|
||||||
with:
|
with:
|
||||||
name: swagger.json
|
name: swagger.json
|
||||||
path: ./swagger.json
|
path: swagger.json
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -233,6 +233,7 @@ jobs:
|
|||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
branch: ${{ needs.setup.outputs.branch-name }}
|
branch: ${{ needs.setup.outputs.branch-name }}
|
||||||
artifacts: "docker-stub.zip,
|
artifacts: "docker-stub.zip,
|
||||||
|
docker-stub-sha256.txt,
|
||||||
swagger.json"
|
swagger.json"
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
@ -240,6 +241,7 @@ jobs:
|
|||||||
uses: ncipollo/release-action@40bb172bd05f266cf9ba4ff965cb61e9ee5f6d01
|
uses: ncipollo/release-action@40bb172bd05f266cf9ba4ff965cb61e9ee5f6d01
|
||||||
with:
|
with:
|
||||||
artifacts: 'docker-stub.zip,
|
artifacts: 'docker-stub.zip,
|
||||||
|
docker-stub-sha256.txt,
|
||||||
swagger.json'
|
swagger.json'
|
||||||
commit: ${{ github.sha }}
|
commit: ${{ github.sha }}
|
||||||
tag: "v${{ needs.setup.outputs.release_version }}"
|
tag: "v${{ needs.setup.outputs.release_version }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user