fix: publish go

This commit is contained in:
darksaid98 committed 2024-12-31 02:06:15 +01:00
1 parent 57c55562f0
commit e9b0f801e2
2 files changed
+14

No files matched your search

+2
View File
@@ -24,6 +24,8 @@ jobs:
- '1.19'
- '1.20'
- '1.21'
- '1.22'
- '1.23'
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
+12
View File
@@ -0,0 +1,12 @@
FROM --platform=$TARGETOS/$TARGETARCH golang:1.23-alpine
RUN apk add --update --no-cache ca-certificates tzdata \
&& adduser -D -h /home/container container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]