From c19121948df23a3b00da2faa1e8f472bb505fdce Mon Sep 17 00:00:00 2001 From: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com> Date: Thu, 4 Mar 2021 13:21:27 -0800 Subject: [PATCH] adding docker to the rc branch workflow (#1183) --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 25da2bbbcc..7d9c45fca9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,14 +54,14 @@ jobs: GITHUB_EVENT: ${{ github.event_name }} - name: Log into docker - if: github.ref == 'refs/heads/master' || github.event_name == 'release' + if: github.ref == 'refs/heads/master' || github.event_name == 'release' || github.ref == 'refs/heads/rc' run: echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - name: Setup Docker Trust - if: github.ref == 'refs/heads/master' || github.event_name == 'release' + if: github.ref == 'refs/heads/master' || github.event_name == 'release' || github.ref == 'refs/heads/rc' run: | mkdir -p ~/.docker/trust/private @@ -126,7 +126,7 @@ jobs: RELEASE_TAG_NAME: ${{ github.event.release.tag_name }} - name: List docker images - if: github.ref == 'refs/heads/master' || github.event_name == 'release' + if: github.ref == 'refs/heads/master' || github.event_name == 'release' || github.ref == 'refs/heads/rc' run: docker images - name: Push rc images @@ -201,7 +201,7 @@ jobs: path: ./swagger.json - name: Log out of docker - if: github.ref == 'refs/heads/master' || github.event_name == 'release' + if: github.ref == 'refs/heads/master' || github.event_name == 'release' || github.ref == 'refs/heads/rc' run: docker logout - name: Upload release assets