File tree Expand file tree Collapse file tree 1 file changed +7
-15
lines changed Expand file tree Collapse file tree 1 file changed +7
-15
lines changed Original file line number Diff line number Diff line change @@ -14,25 +14,17 @@ jobs:
1414 steps :
1515 - name : Checkout
1616 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-
17+
18+ - name : Get the version
19+ id : get_version
20+ run : echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
21+
3122 - uses : actions/setup-go@v3
3223 with :
3324 go-version : ' >=1.17.0'
3425 - run : |
35- IMG=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.tags }} make release
26+ IMG=ghcr.io/open-feature/open-feature-operator:${{ steps.get_version.outputs.VERSION }} make release
27+
3628 - name : Release
3729 uses : softprops/action-gh-release@v1
3830 with :
You can’t perform that action at this time.
0 commit comments