Skip to content

Commit

Permalink
Only build docker images on releases
Browse files Browse the repository at this point in the history
Signed-off-by: Nicko Guyer <[email protected]>
  • Loading branch information
nguyer committed Oct 11, 2021
1 parent 1ec1649 commit 0a77fdf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Docker

on:
push:
branches:
- main
release:
types:
- published
Expand All @@ -18,7 +15,6 @@ jobs:
run: docker build -t ghcr.io/hyperledger/firefly-ethconnect:latest .

- name: Tag release
if: github.event_name == 'release' && github.event.action == 'published'
run: docker tag ghcr.io/hyperledger/firefly-ethconnect:latest ghcr.io/hyperledger/firefly-ethconnect:$GITHUB_REF

- name: Push docker image
Expand Down

0 comments on commit 0a77fdf

Please sign in to comment.