Skip to content

Commit

Permalink
Merge pull request #633 from stlankes/deploy
Browse files Browse the repository at this point in the history
include always the hermit-os environment
  • Loading branch information
stlankes authored Oct 7, 2024
2 parents a7d56ee + cfa8082 commit 338d7c5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Create dockerfile for rusty_demo
run: |
cat << END > Dockerfile
FROM scratch
FROM ghcr.io/hermit-os/hermit_env:latest
COPY hermit-loader-x86_64 hermit/hermit-loader
COPY hermit-loader-x86_64-fc hermit/hermit-loader-fc
COPY rusty_demo hermit/rusty_demo
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Create dockerfile for httpd
run: |
cat << END > Dockerfile
FROM scratch
FROM ghcr.io/hermit-os/hermit_env:latest
COPY hermit-loader-x86_64 hermit/hermit-loader
COPY hermit-loader-x86_64-fc hermit/hermit-loader-fc
COPY httpd hermit/httpd
Expand All @@ -67,7 +67,7 @@ jobs:
push: true
tags: ghcr.io/hermit-os/httpd:latest
- name: Build webserver
run: cargo build -Zbuild-std=std,panic_abort --target x86_64-unknown-hermit -p webserver --features hermit/dhcpv4 --release
run: cargo build -Zbuild-std=std,panic_abort --target x86_64-unknown-hermit -p webserver --features hermit/dhcpv4,hermit/fs --release
- name: Copy webserver out of target dir
run: cp target/x86_64-unknown-hermit/release/webserver .
- name: Create static website
Expand All @@ -87,7 +87,7 @@ jobs:
- name: Create dockerfile for webserver
run: |
cat << END > Dockerfile
FROM scratch
FROM ghcr.io/hermit-os/hermit_env:latest
COPY root root
COPY hermit-loader-x86_64 hermit/hermit-loader
COPY hermit-loader-x86_64-fc hermit/hermit-loader-fc
Expand All @@ -107,7 +107,7 @@ jobs:
- name: Create dockerfile for tls-demo
run: |
cat << END > Dockerfile
FROM scratch
FROM ghcr.io/hermit-os/hermit_env:latest
COPY hermit-loader-x86_64 hermit/hermit-loader
COPY hermit-loader-x86_64-fc hermit/hermit-loader-fc
COPY tls hermit/tls
Expand All @@ -120,7 +120,7 @@ jobs:
push: true
tags: ghcr.io/hermit-os/tls:latest
- name: Build axum
run: cargo build -Zbuild-std=std,panic_abort --target x86_64-unknown-hermit -p axum-example --features hermit/dhcpv4,hermit/fuse --release
run: cargo build -Zbuild-std=std,panic_abort --target x86_64-unknown-hermit -p axum-example --features hermit/dhcpv4,hermit/fs --release
- name: Copy axum out of target dir
run: cp target/x86_64-unknown-hermit/release/axum-example .
- name: Create dockerfile for axum
Expand Down

0 comments on commit 338d7c5

Please sign in to comment.