diff --git a/Dockerfile b/Dockerfile index df49f74..7367ab5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,6 @@ RUN make build FROM ubuntu:jammy WORKDIR /go/src/app -# COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=baseimg /go/src/app/semver-gen . COPY --from=baseimg /go/src/app/config-release.yaml config.yaml COPY --from=baseimg /go/src/app/entrypoint.sh /entrypoint.sh diff --git a/main.go b/main.go index d3c7fbe..26aef25 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,7 @@ +// Project: semver-generator +//go:build (darwin && cgo) || linux +// +build darwin,cgo linux + /* Copyright © 2021 LUKASZ RACZYLO @@ -5,7 +9,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,