Skip to content

Commit

Permalink
Only binary images
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew B White <[email protected]>
  • Loading branch information
mbwhite committed Feb 2, 2023
1 parent a092552 commit 496c29a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
version: [2.4.7,2.5.0-beta]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup fabric
uses: ./
Expand All @@ -35,15 +35,6 @@ jobs:
ls -lart $FABRIC_CFG_PATH/..
peer version
docker images
# - name: Verify
# shell: python
# env:
# GH_VERSION_EXPECTED: ${{ matrix.version }}
# run: |
# import sys, os
# sys.exit(
# int(not os.environ["GH_VERSION_EXPECTED"] in os.environ["GH_VERSION_INSTALLED"])
# )
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## About

This action will install the Hyperledger Fabric CLIs (peer, fabric-ca-client etc) and set the path and `FABRIC_CFG_CONFIG`
It can also pull down the docker images that match the version of the CLIs
It's not recommended to load the Fabric docker images in a GHA pipeline. Instead use the Microfab container for FV style testing.

## Usage

Expand All @@ -27,10 +27,15 @@ steps:

steps:
- name: Installs the last 2.5 development release and pulls docker imagaes
uses: hyperledgendary/setup-hyperledger-fabric-action
with:
version: 2.5.0-beta

steps:
- name: Installs the last 2.5 development release
uses: hyperledgendary/setup-hyperledger-fabric-action
with:
version: 2.5-dev
docker: true
```
## Inputs
Expand Down

0 comments on commit 496c29a

Please sign in to comment.