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 bf5011d commit d29018eCopy full SHA for d29018e
.github/workflows/build-kubectl.yml
@@ -40,13 +40,13 @@ jobs:
40
- name: data
41
run: |
42
KUBECTL_VERSION=$('${{needs.fetch-data.outputs.versions }}' | jq --arg KEY "${{ matrix.tag }}" '.[$KEY]')
43
- echo "kubectl_version=$KUBECTL_VERSION" >> "$GITHUB_OUTPUT"
+ echo "kubectl_version=$KUBECTL_VERSION" >> "$GITHUB_ENV"
44
- name: Build-kubetcl-with-shell
45
uses: coopTilleuls/action-docker-build-push@custom-tags
46
with:
47
IMAGE_NAME: kubectl
48
BUILD_CONTEXT: ./kubectl
49
- BUILD_ARGS: KUBECTL_VERSION=${{steps.data.ouputs.kubectl_version}}
+ BUILD_ARGS: KUBECTL_VERSION=$kubectl_version
50
BUILD_TARGET: debian-kubectl
51
REGISTRY_JSON_KEY: ${{ secrets.GITHUB_TOKEN }}
52
IMAGE_REPOSITORY: ghcr.io/cooptilleuls/sre
0 commit comments