1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-22 02:51:33 +01:00

adding in the docker push for the rc images (#1182)

This commit is contained in:
Joseph Flinn 2021-03-04 09:50:32 -08:00 committed by GitHub
parent 8ad9a42854
commit 41341d6807
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ jobs:
chmod +x ./build.sh
./build.sh
- name: tag release branch
- name: tag rc branch
if: github.ref == 'refs/heads/rc'
run: ./build.sh tag rc
@ -129,6 +129,13 @@ jobs:
if: github.ref == 'refs/heads/master' || github.event_name == 'release'
run: docker images
- name: Push rc images
if: github.ref == 'refs/heads/rc'
run: ./build.sh push rc
env:
DOCKER_CONTENT_TRUST: 1
DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE: ${{ secrets.DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE }}
- name: Push dev images
if: github.ref == 'refs/heads/master' || github.event_name == 'release'
run: ./build.sh push dev