Improvement: Use current directory ( be more self hosted runner friendly )

This commit is contained in:
2024-08-22 22:17:42 +01:00
parent 08fff358b4
commit f00399804b
2 changed files with 2 additions and 4 deletions
+2 -3
View File
@@ -4,8 +4,7 @@ COPY . /go/src/app/
RUN CGO_ENABLED=1 make build
FROM ubuntu:jammy
WORKDIR /go/src/app
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/semver-gen /go/src/app/semver-gen
COPY --from=baseimg /go/src/app/config-release.yaml /go/src/app/config.yaml
COPY --from=baseimg /go/src/app/entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]