@@ -13,10 +13,10 @@ jobs:
13
13
container :
14
14
image : hyperledger/iroha2-ci:nightly-2023-06-25
15
15
steps :
16
- - uses : actions/checkout@v3
16
+ - uses : actions/checkout@v4
17
17
- name : Set up Docker Buildx
18
18
id : buildx
19
- uses : docker/setup-buildx-action@v2
19
+ uses : docker/setup-buildx-action@v3
20
20
with :
21
21
install : true
22
22
- name : Get tag from branch name
@@ -30,21 +30,22 @@ jobs:
30
30
RELEASE=$(curl -s https://raw.githubusercontent.com/hyperledger/iroha/${{ github.ref_name }}/Cargo.toml | sed -n '3p' | sed -e 's/version = "//g' -e 's/"$//' | tr -d '\n')
31
31
echo "RELEASE=$RELEASE" >>$GITHUB_ENV
32
32
- name : Login to DockerHub
33
- uses : docker/login-action@v2
33
+ uses : docker/login-action@v3
34
34
with :
35
35
username : ${{ secrets.DOCKERHUB_USERNAME }}
36
36
password : ${{ secrets.DOCKERHUB_TOKEN }}
37
37
- name : Login to Soramitsu Harbor
38
- uses : docker/login-action@v2
38
+ uses : docker/login-action@v3
39
39
with :
40
40
registry : docker.soramitsu.co.jp
41
41
username : ${{ secrets.HARBOR_USERNAME }}
42
42
password : ${{ secrets.HARBOR_TOKEN }}
43
43
- name : Build and push iroha2 image
44
- uses : docker/build-push-action@v4
44
+ uses : docker/build-push-action@v5
45
45
with :
46
46
push : true
47
47
tags : |
48
+ hyperledger/iroha2:${{ env.TAG }}
48
49
hyperledger/iroha2:${{ env.TAG }}-${{ env.RELEASE }}
49
50
docker.soramitsu.co.jp/iroha2/iroha2:${{ env.TAG }}-${{ env.RELEASE }}
50
51
labels : commit=${{ github.sha }}
62
63
permissions :
63
64
contents : write
64
65
steps :
65
- - uses : actions/checkout@v3
66
+ - uses : actions/checkout@v4
66
67
with :
67
68
ref : iroha2-dev
68
69
token : ${{ secrets.G_ACCESS_TOKEN }}
71
72
./scripts/update_configs.sh lts
72
73
./scripts/update_configs.sh stable
73
74
- name : Commit config changes
74
- uses : stefanzweifel/git-auto-commit-action@v4
75
+ uses : stefanzweifel/git-auto-commit-action@v5
75
76
with :
76
77
commit_message : ' [documentation]: Update lts/stable configs following a release'
77
78
branch : iroha2-dev
0 commit comments