github.com/wolfi-dev/wolfictl@v0.16.11/pkg/advisory/testdata/validate/package-existence/distro/ko.yaml (about)

     1  package:
     2    name: ko
     3    version: 0.15.1
     4    epoch: 0
     5    description: Simple, fast container image builder for Go applications.
     6    copyright:
     7      - license: Apache-2.0
     8  
     9  environment:
    10    contents:
    11      packages:
    12        - busybox
    13        - ca-certificates-bundle
    14        - go
    15    environment:
    16      CGO_ENABLED: "0"
    17  
    18  pipeline:
    19    - uses: git-checkout
    20      with:
    21        destination: ko
    22        expected-commit: 2e9e58b187e1092534fbfc9889a04725da4a403d
    23        repository: https://github.com/ko-build/ko
    24        tag: v${{package.version}}
    25  
    26    - uses: go/build
    27      with:
    28        ldflags: -w -X github.com/google/ko/pkg/commands.Version=${{package.version}}
    29        modroot: ko
    30        output: ko
    31        packages: .
    32        vendor: true
    33  
    34    - uses: strip
    35  
    36  update:
    37    enabled: true
    38    manual: false
    39    github:
    40      identifier: ko-build/ko
    41      strip-prefix: v