Skip to content

Commit

Permalink
Update release.yml (#202)
Browse files Browse the repository at this point in the history
Signed-off-by: David Liu <david.yx.liu@oracle.com>
  • Loading branch information
David Liu committed Aug 21, 2021
1 parent f419919 commit 6827b69
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 6827b69

Please sign in to comment.