Skip to content

Commit 9a78bee

Browse files
committed
Fixed the "Setup yq" part of the deploy workflow
no issue
1 parent 293af5d commit 9a78bee

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,12 @@ jobs:
6767
kubectl kustomize ./k8s/overlays/${{ env.ENVIRONMENT }} > /tmp/built-manifest.yaml
6868
6969
- 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-
70+
uses: supplypike/setup-bin@v3
71+
with:
72+
uri: 'https://github.com/mikefarah/yq/releases/download/v4.35.1/yq_linux_amd64'
73+
name: 'yq'
74+
version: '4.35.1'
75+
7476
- name: Extract Deployment Name and Namespace
7577
run: |
7678
deployment_name=$(yq e 'select(.kind == "Deployment") | .metadata.name' /tmp/built-manifest.yaml)

0 commit comments

Comments
 (0)