We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fe5a1e commit dc68d81Copy full SHA for dc68d81
.github/workflows/build-kubectl.yml
@@ -40,13 +40,14 @@ jobs:
40
- name: data
41
run: |
42
KUBECTL_VERSION=$('${{needs.fetch-data.outputs.versions }}' | jq --arg KEY "${{ matrix.tag }}" '.[$KEY]')
43
- echo "build_args=KUBECTL_VERSION=$KUBECTL_VERSION" >> "$GITHUB_ENV"
+ echo "build_args=KUBECTL_VERSION=$KUBECTL_VERSION" >> "$GITHUB_OUTPUT"
44
+ echo $GITHUB_OUTPUT
45
- name: Build-kubetcl-with-shell
46
uses: coopTilleuls/action-docker-build-push@custom-tags
47
with:
48
IMAGE_NAME: kubectl
49
BUILD_CONTEXT: ./kubectl
- BUILD_ARGS: ${{ env.build_args }}
50
+ BUILD_ARGS: ${{ step.data.build_args }}
51
BUILD_TARGET: debian-kubectl
52
REGISTRY_JSON_KEY: ${{ secrets.GITHUB_TOKEN }}
53
IMAGE_REPOSITORY: ghcr.io/cooptilleuls/sre
0 commit comments