File tree Expand file tree Collapse file tree 2 files changed +39
-1
lines changed
Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Build docker image
2+ on :
3+ push :
4+ branches : ["master"]
5+
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ permissions :
10+ contents : read
11+ packages : write
12+ steps :
13+ - uses : docker/setup-buildx-action@v2
14+
15+ - uses : docker/login-action@v2
16+ with :
17+ registry : " ghcr.io"
18+ username : ${{ github.actor }}
19+ password : ${{ secrets.GITHUB_TOKEN }}
20+
21+ - uses : docker/metadata-action@v4
22+ id : meta
23+ with :
24+ images : " ghcr.io/vimeda/helm"
25+ tags : |
26+ ${{ github.sha }}
27+ latest
28+
29+ - uses : actions/checkout@v3
30+
31+ - uses : docker/build-push-action@v3
32+ with :
33+ context : .
34+ push : true
35+ tags : ${{ steps.meta.outputs.tags }}
36+ labels : ${{ steps.meta.outputs.labels }}
37+ cache-from : type=gha
38+ cache-to : type=gha,mode=max
Original file line number Diff line number Diff line change @@ -66,4 +66,4 @@ inputs:
6666 required : false
6767runs :
6868 using : docker
69- image : Dockerfile
69+ image : docker://ghcr.io/vimeda/helm
You can’t perform that action at this time.
0 commit comments