diff --git a/.github/workflows/rest-sample.yaml b/.github/workflows/rest-sample.yaml index 63f54f7e..a4320566 100644 --- a/.github/workflows/rest-sample.yaml +++ b/.github/workflows/rest-sample.yaml @@ -7,6 +7,7 @@ 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 on: workflow_dispatch: @@ -67,14 +68,17 @@ jobs: uses: docker/login-action@v2 with: registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ env.GITHUB_USER }} + password: ${{ env.GITHUB_PAT }} +# username: ${{ github.repository_owner }} +# password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push id: push uses: docker/build-push-action@v3 with: context: asset-transfer-basic/rest-api-typescript - platforms: linux/amd64,linux/arm64 + #platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 # todo: this is not right as it may try to publish on any push event # push: ${{ github.event_name != 'pull_request' }}