Skip to content

Commit 09027e8

Browse files
committed
fix: Correct GO_VERSION build arg in release workflow
1 parent f8226f8 commit 09027e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
packages: write
2828
outputs:
2929
version: ${{ steps.version.outputs.version }}
30+
go_version: ${{ matrix.GO_VERSION }}
3031
steps:
3132
- uses: actions/checkout@v4
3233
with:
@@ -167,7 +168,7 @@ jobs:
167168
run: |
168169
VERSION="${{ needs.build-artifacts.outputs.version }}"
169170
docker buildx build . \
170-
--build-arg "GO_VERSION=${{ needs.build-artifacts.outputs.version }}" \
171+
--build-arg "GO_VERSION=${{ needs.build-artifacts.outputs.go_version }}" \
171172
-f test/ct-test-srv/Dockerfile \
172173
--platform linux/amd64,linux/arm64 \
173174
-t "ghcr.io/${{ github.repository_owner }}/ct-test-srv:${{ github.ref_name }}-go${VERSION}" \

0 commit comments

Comments
 (0)