Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add go-install arguments and env vars #23

Merged
merged 2 commits into from
Jun 6, 2024
Merged

Conversation

wagoodman
Copy link
Contributor

@wagoodman wagoodman commented Jun 6, 2024

This add the ability to pass arguments/flags to go install as well as set specific environment variables, for example:

  - name: skopeo
    version:
      want: v1.12.0
    method: go-install
    with:
      module: github.com/containers/skopeo
      entrypoint: cmd/skopeo
      args:
        - "-tags"
        - containers_image_openpgp
      env:
        - CGO_ENABLED=0
        - GO_DYN_FLAGS=""

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman added the enhancement New feature or request label Jun 6, 2024
@wagoodman wagoodman marked this pull request as draft June 6, 2024 18:01
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman marked this pull request as ready for review June 6, 2024 18:30
@wagoodman wagoodman requested a review from a team June 6, 2024 18:31
@wagoodman wagoodman enabled auto-merge (squash) June 6, 2024 18:34
@wagoodman wagoodman merged commit 359e2f7 into main Jun 6, 2024
4 checks passed
@wagoodman wagoodman deleted the add-go-install-args-env branch June 6, 2024 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants