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
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue