Skip to content

Commit

Permalink
fix: another way to install yq without snap
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Forattini committed Jun 8, 2022
1 parent 0e6cbe7 commit d3e937d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,12 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install | YQ
run: sudo snap install yq
env:
VERSION: v4.25.2
BINARY: yq_linux_amd64
run: |
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - | tar xz && sudo mv ${BINARY} /usr/bin/yq
yq --version
- name: Install | QEMU
uses: docker/setup-qemu-action@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/service-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ jobs:
echo "Dockerfile: \`${{ steps.dockerfile.outcome }}\`" >> $GITHUB_STEP_SUMMARY
echo -e "<details><summary>dockerfile</summary>\n\n\`\`\`dockerfile \n$(cat ./Dockerfile)\n \`\`\`\n </details>\n\n" >> $GITHUB_STEP_SUMMARY
# login
- name: Config | Login to Container Registry
uses: docker/login-action@v2
with:
Expand Down
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ repos:
rev: v8.8.7
hooks:
- id: gitleaks
args: [--verbose]

0 comments on commit d3e937d

Please sign in to comment.