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