Skip to content

Commit dc68d81

Browse files
committed
test build
1 parent 9fe5a1e commit dc68d81

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-kubectl.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,14 @@ jobs:
4040
- name: data
4141
run: |
4242
KUBECTL_VERSION=$('${{needs.fetch-data.outputs.versions }}' | jq --arg KEY "${{ matrix.tag }}" '.[$KEY]')
43-
echo "build_args=KUBECTL_VERSION=$KUBECTL_VERSION" >> "$GITHUB_ENV"
43+
echo "build_args=KUBECTL_VERSION=$KUBECTL_VERSION" >> "$GITHUB_OUTPUT"
44+
echo $GITHUB_OUTPUT
4445
- name: Build-kubetcl-with-shell
4546
uses: coopTilleuls/action-docker-build-push@custom-tags
4647
with:
4748
IMAGE_NAME: kubectl
4849
BUILD_CONTEXT: ./kubectl
49-
BUILD_ARGS: ${{ env.build_args }}
50+
BUILD_ARGS: ${{ step.data.build_args }}
5051
BUILD_TARGET: debian-kubectl
5152
REGISTRY_JSON_KEY: ${{ secrets.GITHUB_TOKEN }}
5253
IMAGE_REPOSITORY: ghcr.io/cooptilleuls/sre

0 commit comments

Comments
 (0)