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
1 changed files with 11 additions and 0 deletions

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