Commit 0cfbc40 Ahmad Nassri
committed
1 parent f8f0684 commit 0cfbc40 Copy full SHA for 0cfbc40
File tree 1 file changed +15
-3
lines changed
1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,30 @@ jobs:
14
14
15
15
16
16
# run checks
17
- - run : npm audit --audit-level=moderate
17
+ - run : npm audit --audit-level=critical
18
18
- run : npx updated
19
19
20
20
release :
21
+ needs : dependencies
22
+
21
23
runs-on : ubuntu-latest
22
24
23
25
steps :
24
26
- uses : actions/checkout@v2
25
27
26
28
27
- # release
28
- - name : dogfood
29
+ - id : release
30
+ name : dogfood
29
31
uses : ./
30
32
env :
31
33
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34
+
35
+ - if : ${{ steps.release.outputs.published }}
36
+ uses : docker/build-push-action@v1
37
+ with :
38
+ add_git_labels : true
39
+ username : ahmadnassri
40
+ password : ${{ secrets.DOCKER_PASSWORD }}
41
+ registry : registry.hub.docker.com
42
+ repository : ahmadnassri/action-semantic-release
43
+ tags : latest, ${{ steps.release.outputs.release-version }}
You can’t perform that action at this time.
0 commit comments