Skip to content

Commit

Permalink
enable CGO_ENABLED=0
Browse files Browse the repository at this point in the history
  • Loading branch information
flkhndlr committed Jul 18, 2023
1 parent 7172731 commit 50e42fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 27 deletions.
29 changes: 3 additions & 26 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,11 @@
#gitlab_urls:
# api: https://git.mms-support.de/api/v4
# download: https://git.mms-support.de
#
# # set to true if you use a self-signed certificate
# skip_tls_verify: false
#
# # set to true if you want to upload to the Package Registry rather than attachments
# # Only works with GitLab 13.5+
# #
# # Since: v1.3
# use_package_registry: true
#
# # Set this if you set GITLAB_TOKEN to the value of CI_JOB_TOKEN.
# #
# # Default: false
# # Since: v1.11
# use_job_token: false

# project_name: grafiport
# dockers:
# -
# image_templates:
# - "7001-02/{{.ProjectName}}"
# dockerfile: goreleaser.dockerfile
project_name: grafiport

builds:
- env: [CGO_ENABLED=0]
dockers:
-
goos: linux
goarch: amd64
goamd64: "v2"
dockerfile: goreleaser.dockerfile
image_templates:
- 'ghcr.io/telekom-mms/grafiport:{{ .Tag }}'
Expand Down
2 changes: 1 addition & 1 deletion goreleaser.dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# final stage
FROM ubuntu:latest
FROM alpine:latest
COPY grafiport /usr/local/bin/grafiport
RUN mkdir -p /output
ENV DIRECTORY /output
Expand Down

0 comments on commit 50e42fc

Please sign in to comment.