File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 41
41
outputs :
42
42
typ : ${{ steps.prep.outputs.typ }}
43
43
push : ${{ steps.prep.outputs.push }}
44
+ tag : ${{ steps.prep.outputs.tag }}
44
45
tags : ${{ steps.prep.outputs.tags }}
45
46
steps :
46
47
-
59
60
fi
60
61
echo "typ=${TYP}" >>${GITHUB_OUTPUT}
61
62
echo "push=${PUSH}" >>${GITHUB_OUTPUT}
63
+ echo "tag=${TAG}" >>${GITHUB_OUTPUT}
62
64
if [ "${TYP}" = "master" ]; then
63
65
echo "tags=$(jq -cn --arg tag "$TAG" '[$tag, "labs"]')" >>${GITHUB_OUTPUT}
64
66
else
@@ -114,3 +116,20 @@ jobs:
114
116
RELEASE : ${{ startsWith(github.ref, 'refs/tags/v') }}
115
117
CACHE_FROM : type=gha,scope=${{ env.CACHE_SCOPE }}
116
118
CACHE_TO : type=gha,scope=${{ env.CACHE_SCOPE }}
119
+
120
+ release :
121
+ runs-on : ubuntu-20.04
122
+ if : startsWith(github.ref, 'refs/tags/dockerfile')
123
+ needs :
124
+ - prepare
125
+ - test
126
+ - image
127
+ steps :
128
+ -
129
+ name : GitHub Release
130
+ uses : softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15
131
+ env :
132
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
133
+ with :
134
+ draft : true
135
+ name : ${{ needs.prepare.outputs.tag }}
You can’t perform that action at this time.
0 commit comments