Skip to content

Commit

Permalink
include version num
Browse files Browse the repository at this point in the history
  • Loading branch information
loganmc10 committed Aug 28, 2023
1 parent 1b2bf79 commit 18924cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:

- name: Run build script
run: |
CGO_ENABLED=0 GOOS=windows go build -a -o simple64-netplay-server.exe main.go
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -a -o simple64-netplay-server-arm64 main.go
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o simple64-netplay-server-amd64 main.go
CGO_ENABLED=0 GOOS=windows go build -a -o simple64-netplay-server.exe .
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -a -o simple64-netplay-server-arm64 .
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o simple64-netplay-server-amd64 .
- name: Upload folder
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN go mod download
COPY main.go main.go
COPY internal/ internal/

RUN CGO_ENABLED=0 go build -a -o simple64-netplay-server main.go
RUN CGO_ENABLED=0 go build -a -o simple64-netplay-server .

FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
WORKDIR /
Expand Down

0 comments on commit 18924cc

Please sign in to comment.