1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

Add rc auto (#868)

* adding new rc docker tag

* adding rc docker push

* updating task name
This commit is contained in:
Joseph Flinn 2021-03-04 10:07:59 -08:00 committed by GitHub
parent 929c3d7662
commit 722bcfc31b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,6 +74,10 @@ jobs:
chmod +x ./build.sh
./build.sh
- name: Tag rc branch
if: github.ref == 'refs/heads/rc'
run: ./build.sh tag rc
- name: Tag dev
if: github.ref == 'refs/heads/master' || github.event_name == 'release'
run: ./build.sh tag dev
@ -93,6 +97,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