File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - " v*.*.*"
7+ env :
8+ REGISTRY : ghcr.io
9+ IMAGE_NAME : ${{ github.repository }}
710
811jobs :
912 build :
1013 runs-on : ubuntu-latest
1114 steps :
1215 - name : Checkout
1316 uses : actions/checkout@v2
17+
18+ - name : Log in to the Container registry
19+ uses : docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
20+ with :
21+ registry : ${{ env.REGISTRY }}
22+ username : ${{ github.actor }}
23+ password : ${{ secrets.GITHUB_TOKEN }}
24+
25+ - name : Extract metadata (tags, labels) for Docker
26+ id : meta
27+ uses : docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
28+ with :
29+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
30+
31+ - uses : actions/setup-go@v3
32+ with :
33+ go-version : ' >=1.17.0'
34+ - run : |
35+ IMG=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.tags }} make release
1436 - name : Release
1537 uses : softprops/action-gh-release@v1
1638 with :
You can’t perform that action at this time.
0 commit comments