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 293af5d commit 9a78beeCopy full SHA for 9a78bee
.github/workflows/deploy.yml
@@ -67,10 +67,12 @@ jobs:
67
kubectl kustomize ./k8s/overlays/${{ env.ENVIRONMENT }} > /tmp/built-manifest.yaml
68
69
- name: Setup yq
70
- run: |
71
- wget https://github.com/mikefarah/yq/releases/download/v4.35.1/yq_linux_amd64.tar.gz -O - |\
72
- tar xz && mv yq_linux_amd64 /usr/bin/yq
73
-
+ uses: supplypike/setup-bin@v3
+ with:
+ uri: 'https://github.com/mikefarah/yq/releases/download/v4.35.1/yq_linux_amd64'
+ name: 'yq'
74
+ version: '4.35.1'
75
+
76
- name: Extract Deployment Name and Namespace
77
run: |
78
deployment_name=$(yq e 'select(.kind == "Deployment") | .metadata.name' /tmp/built-manifest.yaml)
0 commit comments