Skip to content

Commit

Permalink
Merge pull request wolfi-dev#22716 from wolfi-dev/cve-terragrunt-943c…
Browse files Browse the repository at this point in the history
…81a57c1e08a208c4ffa8f69434a9

terragrunt/0.59.5-r0: cve remediation
  • Loading branch information
cpanato authored Jun 27, 2024
2 parents a75b126 + e10412d commit 00ae3bd
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions terragrunt.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: terragrunt
version: 0.59.5
epoch: 0
epoch: 1
description: Thin wrapper for Terraform providing extra tools
copyright:
- license: MIT
Expand All @@ -16,6 +16,7 @@ environment:
- busybox
- ca-certificates-bundle
- go
- mockery

pipeline:
- uses: git-checkout
Expand All @@ -24,17 +25,26 @@ pipeline:
repository: https://github.com/gruntwork-io/terragrunt
tag: v${{package.version}}

- runs: |
go build -v -o bin/terragrunt -ldflags "-s -w -X github.com/gruntwork-io/go-commons/version.Version=v${{package.version}}"
install -Dm755 bin/terragrunt "${{targets.contextdir}}"/usr/bin/terragrunt
- runs: go generate ./...

- uses: go/bump
with:
deps: github.com/hashicorp/[email protected] github.com/hashicorp/[email protected]

- uses: go/build
with:
output: terragrunt
packages: .
ldflags: "-X github.com/gruntwork-io/go-commons/version.Version=v${{package.version}}"

- uses: strip

test:
pipeline:
- name: Verify terragrunt
runs: |
terragrunt --version
set -o pipefail
terragrunt --version | grep "${{package.version}}"
update:
enabled: true
Expand Down

0 comments on commit 00ae3bd

Please sign in to comment.