Selaa lähdekoodia

Update CI

develop
Silvestr Predko 2 vuotta sitten
vanhempi
commit
633c5efe4c
1 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. 5
    2
      .github/workflows/ci.yml

+ 5
- 2
.github/workflows/ci.yml Näytä tiedosto

@@ -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

Loading…
Peruuta
Tallenna