Skip to content

Commit

Permalink
Added version check and completion
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasdille committed Oct 29, 2023
1 parent df6a272 commit ac2b8c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions tools/ingress2gateway/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@ check-github-release-asset "kubernetes-sigs/ingress2gateway" "v${version}" "ingr
curl --silent --location --fail "https://github.com/kubernetes-sigs/ingress2gateway/releases/download/v${version}/ingress2gateway_Linux_${arch_suffix}.tar.gz" \
| tar --extract --gzip --directory="${prefix}${target}/bin/" --no-same-owner \
ingress2gateway
EOF

# completion
#RUN <<EOF
#"${prefix}${target}/bin/foo" completion bash >"${prefix}${target}/share/bash-completion/completions/foo"
#"${prefix}${target}/bin/foo" completion fish >"${prefix}${target}/share/fish/vendor_completions.d/foo.fish"
#"${prefix}${target}/bin/foo" completion zsh >"${prefix}${target}/share/zsh/vendor-completions/_foo"
#EOF
"${prefix}${target}/bin/ingress2gateway" completion bash >"${prefix}${target}/share/bash-completion/completions/ingress2gateway"
"${prefix}${target}/bin/ingress2gateway" completion fish >"${prefix}${target}/share/fish/vendor_completions.d/ingress2gateway.fish"
"${prefix}${target}/bin/ingress2gateway" completion zsh >"${prefix}${target}/share/zsh/vendor-completions/_ingress2gateway"
EOF
2 changes: 1 addition & 1 deletion tools/ingress2gateway/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
$schema: https://tools.uniget.dev/schema.yaml
name: ingress2gateway
version: "0.1.0"
check: ""
check: "" # No version parameter
platforms:
- linux/amd64
- linux/arm64
Expand Down

0 comments on commit ac2b8c3

Please sign in to comment.