File tree 1 file changed +43
-4
lines changed
1 file changed +43
-4
lines changed Original file line number Diff line number Diff line change 48
48
run : ./heplify -h
49
49
shell : alpine.sh {0}
50
50
51
- - run : |
52
- pwd
53
- ls -alF
54
- ls -alF ${{ steps.alpine-root.outputs.root-path }}/heplify
51
+ - name : Upload
52
+ if : ${{ github.event_name != 'workflow_dispatch' }}
53
+ uses : skx/github-action-publish-binaries@master
54
+ env :
55
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
56
+ with :
57
+ args : ' heplify'
58
+
59
+ docker-push :
60
+ if : ${{ github.event_name != 'workflow_dispatch' }}
61
+ runs-on : ubuntu-latest
62
+ needs : build
63
+ permissions :
64
+ packages : write
65
+ contents : read
66
+
67
+ steps :
68
+ - uses : actions/checkout@v4
69
+ - name : Log in to the Container registry
70
+
71
+ with :
72
+ registry : ${{ env.REGISTRY }}
73
+ username : ${{ github.actor }}
74
+ password : ${{ secrets.GITHUB_TOKEN }}
75
+
76
+ - name : Docker meta
77
+ id : meta
78
+
79
+ with :
80
+ images : |
81
+ ghcr.io/${{ github.repository }}
82
+ tags : |
83
+ latest
84
+ ${{ github.ref_name }}
85
+
86
+ - name : Build and push
87
+
88
+ with :
89
+ context : .
90
+ file : ./docker/heplify/Dockerfile
91
+ push : ${{ github.event_name != 'pull_request' }}
92
+ tags : ${{ steps.meta.outputs.tags }}
93
+ labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments