|
@@ -9,7 +9,7 @@ on:
|
9
|
9
|
branches:
|
10
|
10
|
- develop
|
11
|
11
|
pull_request:
|
12
|
|
- types: [opened, reopened, edited, synchronize]
|
|
12
|
+ types: [opened, reopened, synchronize]
|
13
|
13
|
branches:
|
14
|
14
|
- develop
|
15
|
15
|
|
|
@@ -56,10 +56,11 @@ jobs:
|
56
|
56
|
needs: [clippy, fmt]
|
57
|
57
|
runs-on: ubuntu-latest
|
58
|
58
|
permissions:
|
|
59
|
+ contents: read
|
59
|
60
|
packages: read
|
60
|
61
|
steps:
|
61
|
62
|
- name: Log in to the Container registry
|
62
|
|
- uses: docker/login-action@v2.0.0
|
|
63
|
+ uses: docker/login-action@v2
|
63
|
64
|
with:
|
64
|
65
|
registry: ${{ env.REGISTRY }}
|
65
|
66
|
username: ${{ github.actor }}
|
|
@@ -75,6 +76,8 @@ jobs:
|
75
|
76
|
run: |
|
76
|
77
|
docker pull ${{ env.REGISTRY }}/relayz-io/key-exchange:latest
|
77
|
78
|
docker tag ${{ env.REGISTRY }}/relayz-io/key-exchange:latest key-exchange:latest
|
|
79
|
+ docker pull ${{ env.REGISTRY }}/relayz-io/cache:latest
|
|
80
|
+ docker tag ${{ env.REGISTRY }}/relayz-io/cache:latest cache:latest
|
78
|
81
|
git clone git@github.com:Relayz-io/key-exchange-server.git
|
79
|
82
|
(cd key-exchange-server && docker compose up -d --no-build)
|
80
|
83
|
- name: Clone near-smartcontracts and deploy
|