-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8dba395
commit 27d3dec
Showing
3 changed files
with
28 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,13 +24,19 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Setup Rust Toolchain | ||
uses: dtolnay/rust-toolchain@master | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
toolchain: stable | ||
targets: x86_64-unknown-linux-musl | ||
|
||
- name: Setup Zig | ||
uses: goto-bus-stop/[email protected] | ||
|
||
- name: Install zigbuild | ||
run: cargo install cargo-zigbuild | ||
|
||
- name: Install Just | ||
uses: extractions/setup-just@v1 | ||
|
||
- name: Build Server | ||
run: just build_server | ||
- name: Build Image | ||
run: just docker_build_image |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ARG ARCH= | ||
|
||
FROM ${ARCH}alpine:3 | ||
|
||
COPY server /opt/commune | ||
|
||
WORKDIR app | ||
|
||
ENTRYPOINT ["/opt/commune"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters