Skip to content

Commit

Permalink
Update actions to node 16
Browse files Browse the repository at this point in the history
Signed-off-by: Ry Jones <[email protected]>
  • Loading branch information
ryjones committed Aug 25, 2023
1 parent a590fe6 commit b57d4e3
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 33 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/img_helper_corda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,21 @@ jobs:
java-version: '8'

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2

- name: Login to the container registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Lowercase IMAGE_PATH
id: image_path_format
uses: ASzc/change-string-case-action@v2
uses: ASzc/change-string-case-action@v5
with:
string: ${{ env.IMAGE_PATH }}

Expand All @@ -85,15 +85,15 @@ jobs:
- name: Build and push cordaOS doorman latest
id: corda_doorman_latest
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: images/doorman
push: true
tags: ${{ steps.image_path_format.outputs.lowercase }}/bevel-doorman-linuxkit:latest

- name: Build and push cordaOS networkmap latest
id: corda_networkmap_latest
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: images/networkmap
push: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/img_supplychain_besu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ jobs:
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2

- name: Login to the container registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Lowercase IMAGE_PATH
id: image_path_format
uses: ASzc/change-string-case-action@v2
uses: ASzc/change-string-case-action@v5
with:
string: ${{ env.IMAGE_PATH }}

Expand All @@ -57,7 +57,7 @@ jobs:

- name: Build and push supplychain app latest
id: besu_supplychain_latest
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ./examples/supplychain-app/besu/express_nodeJS
push: true
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/img_supplychain_corda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,35 +52,35 @@ jobs:
./gradlew deployWebapps
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2

- name: Login to the container registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Lowercase IMAGE_PATH
id: image_path_format
uses: ASzc/change-string-case-action@v2
uses: ASzc/change-string-case-action@v5
with:
string: ${{ env.IMAGE_PATH }}

- name: Build and push supplychain app latest
id: corda_express_latest
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: examples/supplychain-app/corda/express_nodeJS
push: true
tags: ${{ steps.image_path_format.outputs.lowercase }}/bevel-supplychain-corda:express-app-latest

- name: Build and push supplychain springboot
id: corda_springboot_latest
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: examples/supplychain-app/corda/cordApps_springBoot
push: true
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/img_supplychain_fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,21 @@ jobs:
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2

- name: Login to the container registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Lowercase IMAGE_PATH
id: image_path_format
uses: ASzc/change-string-case-action@v2
uses: ASzc/change-string-case-action@v5
with:
string: ${{ env.IMAGE_PATH }}

Expand All @@ -59,23 +59,23 @@ jobs:

- name: Build and push supplychain app latest
id: express_supplychain_latest
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: examples/supplychain-app/fabric/express_nodeJs
push: true
tags: ${{ steps.image_path_format.outputs.lowercase }}/bevel-supplychain-fabric:express-app-latest

- name: Build and push supplychain rest-server latest
id: restserver_supplychain_latest
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: examples/supplychain-app/fabric/chaincode_rest_server/rest-server
push: true
tags: ${{ steps.image_path_format.outputs.lowercase }}/bevel-supplychain-fabric:rest-server-latest

- name: Build and push supplychain external chaincode
id: supplychain_external_cc_latest
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: examples/supplychain-app/fabric/chaincode_rest_server/chaincode-external
push: true
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/img_supplychain_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,27 +36,27 @@ jobs:
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2

- name: Login to the container registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Lowercase IMAGE_PATH
id: image_path_format
uses: ASzc/change-string-case-action@v2
uses: ASzc/change-string-case-action@v5
with:
string: ${{ env.IMAGE_PATH }}

- name: Build and push supplychain front-end latest
id: supplychain_frontend_latest
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: examples/supplychain-app/supplychain-frontend
push: true
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/img_supplychain_quorum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,27 +36,27 @@ jobs:
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2

- name: Login to the container registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Lowercase IMAGE_PATH
id: image_path_format
uses: ASzc/change-string-case-action@v2
uses: ASzc/change-string-case-action@v5
with:
string: ${{ env.IMAGE_PATH }}

- name: Build and push supplychain app latest
id: quorum_supplychain_latest
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: examples/supplychain-app/quorum/express_nodeJS
push: true
Expand Down

0 comments on commit b57d4e3

Please sign in to comment.