File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - ' release-*'
7- pull_request :
8- branches :
9- - main
107
118jobs :
129 build :
@@ -42,13 +39,13 @@ jobs:
4239 - name : Set up Docker Buildx
4340 uses : docker/setup-buildx-action@v3
4441
45- # - name: Extract version from tag
46- # id: extract_version
47- # run: |
48- # # Extract version from tag (e.g., release-1.2.3 -> 1.2.3)
49- # VERSION=${GITHUB_REF#refs/tags/release-}
50- # echo "version=$VERSION" >> $GITHUB_OUTPUT
42+ - name : Extract version from tag
43+ id : extract_version
44+ run : |
45+ # Extract version from tag (e.g., release-1.2.3 -> 1.2.3)
46+ VERSION=${GITHUB_REF#refs/tags/release-}
47+ echo "version=$VERSION" >> $GITHUB_OUTPUT
5148
5249 - name : Build and Push
5350 run : |
54- agentstack build ./ --tag ghcr.io/${{ github.repository }}/github-issue-creator --no-import --multi-platform --push
51+ agentstack build ./ --tag ghcr.io/${{ github.repository }}/github-issue-creator:${{ steps.extract_version.outputs.version }} --no-import --multi-platform --push
You can’t perform that action at this time.
0 commit comments