Created
July 21, 2022 04:55
-
-
Save jdolitsky/af9edfcdbb7383a023259101f30e7e3e to your computer and use it in GitHub Desktop.
Secure Your Software Factory with melange and apko
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package: | |
name: hello-server | |
version: 0.1.0 | |
description: friendly little webserver | |
target-architecture: | |
- all | |
copyright: | |
- license: Apache-2.0 | |
paths: | |
- "*" | |
environment: | |
contents: | |
repositories: | |
- https://dl-cdn.alpinelinux.org/alpine/edge/main | |
- https://dl-cdn.alpinelinux.org/alpine/edge/community | |
packages: | |
- alpine-baselayout-data | |
- ca-certificates-bundle | |
- busybox | |
- go | |
pipeline: | |
- name: Build Go application | |
runs: | | |
CGO_ENABLED=0 go build -o "${{targets.destdir}}/usr/bin/hello-server" . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment