From 41341d6807e15765010e52f5900716973de93998 Mon Sep 17 00:00:00 2001 From: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com> Date: Thu, 4 Mar 2021 09:50:32 -0800 Subject: [PATCH] adding in the docker push for the rc images (#1182) --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2ac99a62cd..25da2bbbcc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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