Skip to content

Commit d29018e

Browse files
committed
test build
1 parent bf5011d commit d29018e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-kubectl.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ jobs:
4040
- name: data
4141
run: |
4242
KUBECTL_VERSION=$('${{needs.fetch-data.outputs.versions }}' | jq --arg KEY "${{ matrix.tag }}" '.[$KEY]')
43-
echo "kubectl_version=$KUBECTL_VERSION" >> "$GITHUB_OUTPUT"
43+
echo "kubectl_version=$KUBECTL_VERSION" >> "$GITHUB_ENV"
4444
- name: Build-kubetcl-with-shell
4545
uses: coopTilleuls/action-docker-build-push@custom-tags
4646
with:
4747
IMAGE_NAME: kubectl
4848
BUILD_CONTEXT: ./kubectl
49-
BUILD_ARGS: KUBECTL_VERSION=${{steps.data.ouputs.kubectl_version}}
49+
BUILD_ARGS: KUBECTL_VERSION=$kubectl_version
5050
BUILD_TARGET: debian-kubectl
5151
REGISTRY_JSON_KEY: ${{ secrets.GITHUB_TOKEN }}
5252
IMAGE_REPOSITORY: ghcr.io/cooptilleuls/sre

0 commit comments

Comments
 (0)