From 6827b69fde4dd9d763565162e70285b9360aba13 Mon Sep 17 00:00:00 2001 From: David Liu Date: Sat, 21 Aug 2021 05:09:44 -0400 Subject: [PATCH] Update release.yml (#202) Signed-off-by: David Liu --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9a5ffd1a..ca2fb561 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,9 +8,10 @@ on: tags: - "v*" workflow_dispatch: + pull_request: env: REGISTRY: ghcr.io - IMAGE_NAME: ${{ github.repository }} + IMAGE_NAME: hyperledger-twgc/tape jobs: build-and-push-image: @@ -38,7 +39,7 @@ jobs: tags: | type=edge,branch=alpha type=ref,event=tag - - if: github.ref != 'refs/heads/master' + - if: github.ref == 'refs/heads/alpha' name: Build and push Docker image uses: docker/build-push-action@master with: