mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
Add rc auto (#868)
* adding new rc docker tag * adding rc docker push * updating task name
This commit is contained in:
parent
929c3d7662
commit
722bcfc31b
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -74,6 +74,10 @@ jobs:
|
|||||||
chmod +x ./build.sh
|
chmod +x ./build.sh
|
||||||
./build.sh
|
./build.sh
|
||||||
|
|
||||||
|
- name: Tag rc branch
|
||||||
|
if: github.ref == 'refs/heads/rc'
|
||||||
|
run: ./build.sh tag rc
|
||||||
|
|
||||||
- name: Tag dev
|
- name: Tag dev
|
||||||
if: github.ref == 'refs/heads/master' || github.event_name == 'release'
|
if: github.ref == 'refs/heads/master' || github.event_name == 'release'
|
||||||
run: ./build.sh tag dev
|
run: ./build.sh tag dev
|
||||||
@ -93,6 +97,13 @@ jobs:
|
|||||||
if: github.ref == 'refs/heads/master' || github.event_name == 'release'
|
if: github.ref == 'refs/heads/master' || github.event_name == 'release'
|
||||||
run: docker images
|
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
|
- name: Push dev images
|
||||||
if: github.ref == 'refs/heads/master' || github.event_name == 'release'
|
if: github.ref == 'refs/heads/master' || github.event_name == 'release'
|
||||||
run: ./build.sh push dev
|
run: ./build.sh push dev
|
||||||
|
Loading…
Reference in New Issue
Block a user