Skip to content

Commit a5f7982

Browse files
committed
Added qemu action
1 parent 2b95d5b commit a5f7982

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
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

.goreleaser.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ before:
2626
- go test -race ./...
2727

2828
builds:
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/
9090
changelog:
91-
skip: false
9291
use: github
9392
sort: asc
9493
groups:

deploy/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff 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

1616
USER 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

0 commit comments

Comments
 (0)