test build

Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
This commit is contained in:
Josh Kneubuhl 2022-11-15 09:13:21 -05:00
parent f24e1c44f5
commit a0c9169df4

View file

@ -6,8 +6,8 @@ run-name: ${{ github.actor }} is testing the REST Sample
env:
NODE_VER: 16.x
IMAGE_NAME: ghcr.io/hyperledger/fabric-rest-sample
# IMAGE_NAME: ghcr.io/hyperledger/fabric-samples/asset-transfer-basic/rest-api-typescript
# IMAGE_NAME: ghcr.io/hyperledger/fabric-rest-sample
IMAGE_NAME: ghcr.io/hyperledger/fabric-samples/asset-transfer-basic/rest-api-typescript
on:
workflow_dispatch:
@ -68,10 +68,8 @@ jobs:
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ env.GITHUB_USER }}
password: ${{ env.GITHUB_PAT }}
# username: ${{ github.repository_owner }}
# password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
id: push
uses: docker/build-push-action@v3