Skip to content

Commit 5aa8e18

Browse files
committed
hore: pipeline cleanup
Signed-off-by: Tomas Weiss <tomas.weiss2@gmail.com>
1 parent d0e4f75 commit 5aa8e18

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/build-agent.yaml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
push:
55
tags:
66
- 'release-*'
7-
pull_request:
8-
branches:
9-
- main
107

118
jobs:
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

0 commit comments

Comments
 (0)