Update code constraints.

This commit is contained in:
2022-12-10 12:48:57 +00:00
parent 04d31b5e78
commit e9e05973a4
2 changed files with 5 additions and 2 deletions
-1
View File
@@ -7,7 +7,6 @@ RUN make build
FROM ubuntu:jammy FROM ubuntu:jammy
WORKDIR /go/src/app 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/semver-gen .
COPY --from=baseimg /go/src/app/config-release.yaml config.yaml COPY --from=baseimg /go/src/app/config-release.yaml config.yaml
COPY --from=baseimg /go/src/app/entrypoint.sh /entrypoint.sh COPY --from=baseimg /go/src/app/entrypoint.sh /entrypoint.sh
+5 -1
View File
@@ -1,3 +1,7 @@
// Project: semver-generator
//go:build (darwin && cgo) || linux
// +build darwin,cgo linux
/* /*
Copyright © 2021 LUKASZ RACZYLO <lukasz$raczylo,com> Copyright © 2021 LUKASZ RACZYLO <lukasz$raczylo,com>
@@ -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 not use this file except in compliance with the License.
You may obtain a copy of the License at 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 Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, distributed under the License is distributed on an "AS IS" BASIS,