File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 2323 with :
2424 go-version : " 1.25.0"
2525 # Buildx is required for multi-arch (dockers_v2 uses buildx)
26+ - uses : docker/setup-qemu-action@v3
2627 - name : Set up Docker Buildx
2728 uses : docker/setup-buildx-action@v3
2829 # Login to GHCR
Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ before:
2626 - go test -race ./...
2727
2828builds :
29- - main : ./cmd/openrun
29+ - id : openrun
30+ main : ./cmd/openrun
3031 binary : openrun
3132 flags :
3233 - -trimpath
@@ -37,7 +38,6 @@ builds:
3738 env :
3839 - GO111MODULE=on
3940 - CGO_ENABLED=0
40- - GOAMD64=v3
4141 goos :
4242 - darwin
4343 - linux
@@ -88,7 +88,6 @@ archives:
8888
8989# https://goreleaser.com/customization/changelog/
9090changelog :
91- skip : false
9291 use : github
9392 sort : asc
9493 groups :
Original file line number Diff line number Diff line change @@ -11,11 +11,9 @@ RUN addgroup -S openrun \
1111 && mkdir -p "${OPENRUN_HOME}" \
1212 && chown -R openrun:openrun "${OPENRUN_HOME}"
1313
14- COPY linux/${TARGETARCH}/openrun /usr/bin/openrun
14+ COPY --chmod=0555 linux/${TARGETARCH}/openrun /usr/bin/openrun
1515
1616USER openrun
17- EXPOSE 25222
18- EXPOSE 25223
19-
20- CMD ["/usr/bin/openrun" , "server" , "start" ]
17+ EXPOSE 25222 25223
18+ ENTRYPOINT ["/usr/bin/openrun" , "server" , "start" ]
2119
You can’t perform that action at this time.
0 commit comments