This repository was archived by the owner on Jan 15, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 1- name : Build and Push Container Image
1+ name : Build and Push Container Image and Release Artifacts
22
33on : # yamllint disable-line rule:truthy
44 push :
1414 packages : write
1515 contents : read
1616
17+ outputs :
18+ tag : ${{ steps.tag.outputs.tag }}
19+
1720 steps :
1821 - name : Checkout repository
1922 uses : actions/checkout@v4
@@ -42,26 +45,21 @@ jobs:
4245
4346 build-release-artifacts :
4447 runs-on : ubuntu-latest
48+ needs : build-image
4549 permissions :
4650 contents : write
4751 steps :
4852 - name : Checkout repository
4953 uses : actions/checkout@v4
5054
51- - name : Generate tag
52- id : tag
53- run : |
54- TAG=$(date +%Y%m%d-%H%M%S)-${GITHUB_SHA::8}
55- echo "tag=$TAG" >> $GITHUB_OUTPUT
56-
5755 - name : Build claude extension
5856 env :
59- TAG : ${{ steps.tag .outputs.tag }}
57+ TAG : ${{ needs.build-image .outputs.tag }}
6058 run : make build-claude-extension
6159
6260 - name : Create release with assets
6361 env :
64- TAG : ${{ steps.tag .outputs.tag }}
62+ TAG : ${{ needs.build-image .outputs.tag }}
6563 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6664 run : |
6765 gh release create "$TAG" \
You can’t perform that action at this time.
0 commit comments