File tree Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change 11name : Release
22
33on :
4- push :
5- tags :
6- - " v*"
74 workflow_dispatch :
85
96jobs :
107 release-cli-to-npm :
118 runs-on : ubuntu-latest
129 steps :
13- - uses : actions/checkout@v2
10+ - name : Checkout repository
11+ uses : actions/checkout@v2
1412
15- - uses : actions/setup-node@v1
13+ - name : Setup NodeJS
14+ uses : actions/setup-node@v1
1615 with :
1716 node-version : 14
1817 registry-url : https://registry.npmjs.org/
19- - run : cd cli
20- - run : npm ci
21- - run : npm publish
18+
19+ - name : Publish CLI
20+ run : cd cli && npm ci && npm publish
2221 env :
2322 NODE_AUTH_TOKEN : ${{secrets.npm_token}}
2423
3635 for img in $IMAGES
3736 do
3837 echo "ghcr.io/learnlib/alex/$img:$VERSION"
39- docker pull "ghcr.io/learnlib/alex/$img:unstable"
40- docker tag "ghcr.io/learnlib/alex/$img:unstable" "ghcr.io/learnlib/alex/$img:$VERSION"
41- docker tag "ghcr.io/learnlib/alex/$img:unstable" "ghcr.io/learnlib/alex/$img:latest"
38+ docker pull "ghcr.io/learnlib/alex/$img:latest"
39+ docker tag "ghcr.io/learnlib/alex/$img:latest" "ghcr.io/learnlib/alex/$img:$VERSION"
4240 docker push "ghcr.io/learnlib/alex/$img:$VERSION"
43- docker push "ghcr.io/learnlib/alex/$img:latest"
4441 done
You can’t perform that action at this time.
0 commit comments