Compare commits
9 commits
Author | SHA1 | Date | |
---|---|---|---|
18cfd4ee28 | |||
21d7738c52 | |||
40ea027ddf | |||
0ff55afcad | |||
98a9cad7f4 | |||
7870658c82 | |||
b1c2611b68 | |||
e644a5634a | |||
e527da497f |
4 changed files with 10 additions and 7 deletions
|
@ -16,6 +16,6 @@ jobs:
|
||||||
- name: Login to Docker
|
- name: Login to Docker
|
||||||
run: docker login -u kio -p ${{ secrets.LOGINKEY }} ${{ env.REGISTRY }}
|
run: docker login -u kio -p ${{ secrets.LOGINKEY }} ${{ env.REGISTRY }}
|
||||||
- name: build docker repository
|
- name: build docker repository
|
||||||
run: docker build . -t ${{ env.REGISTRY }}/${{ env.PUBLISH_AS }}:latest
|
run: docker build --no-cache --pull . -t ${{ env.REGISTRY }}/${{ env.PUBLISH_AS }}:latest
|
||||||
- name: Push to Repo Server
|
- name: Push to Repo Server
|
||||||
run: docker push ${{ env.REGISTRY }}/${{ env.PUBLISH_AS }}:latest
|
run: docker push ${{ env.REGISTRY }}/${{ env.PUBLISH_AS }}:latest
|
11
Dockerfile
11
Dockerfile
|
@ -1,12 +1,15 @@
|
||||||
FROM rust:alpine
|
FROM rust:alpine AS build
|
||||||
RUN apk add deno pkgconfig libressl-dev musl-dev
|
RUN apk add deno pkgconfig libressl-dev musl-dev
|
||||||
|
|
||||||
WORKDIR /FeDirect
|
WORKDIR /FeDirect
|
||||||
|
|
||||||
COPY --link . ./
|
COPY --link . ./
|
||||||
|
|
||||||
ENV ROCKET_ADDRESS=0.0.0.0
|
|
||||||
|
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
CMD ["/FeDirect/target/release/fedirect"]
|
FROM scratch
|
||||||
|
COPY --from=build /FeDirect/known-software.json /FeDirect/target/release/fedirect /
|
||||||
|
COPY --from=build /FeDirect/static/ /static
|
||||||
|
ENV ROCKET_ADDRESS=0.0.0.0
|
||||||
|
WORKDIR /
|
||||||
|
CMD ["/fedirect"]
|
|
@ -131,7 +131,7 @@ Unchecking this is not recommended, and this option only exists for exceptional
|
||||||
<p class="margin-none">Programming, design</p>
|
<p class="margin-none">Programming, design</p>
|
||||||
</center>
|
</center>
|
||||||
<center class="absolute-centered member kio align-content-center flex-column">
|
<center class="absolute-centered member kio align-content-center flex-column">
|
||||||
<img id="kioAvatar" class="xl-size" alt="Charlotte's avatar" />
|
<img id="kioAvatar" class="xl-size" alt="Kio's avatar" />
|
||||||
<p class="margin-none">Kio</p>
|
<p class="margin-none">Kio</p>
|
||||||
<a href="https://kitsunes.club/@Kio" class="margin-none">@Kio@kitsunes.club</a>
|
<a href="https://kitsunes.club/@Kio" class="margin-none">@Kio@kitsunes.club</a>
|
||||||
<p class="margin-none">Funding, hosting, design</p>
|
<p class="margin-none">Funding, hosting, design</p>
|
||||||
|
|
|
@ -142,7 +142,7 @@ Unchecking this is not recommended, and this option only exists for exceptional
|
||||||
<p class="margin-none">Programming, design</p>
|
<p class="margin-none">Programming, design</p>
|
||||||
</center>
|
</center>
|
||||||
<center class="absolute-centered member kio align-content-center flex-column">
|
<center class="absolute-centered member kio align-content-center flex-column">
|
||||||
<img id="kioAvatar" class="xl-size" alt="Charlotte's avatar" />
|
<img id="kioAvatar" class="xl-size" alt="Kio's avatar" />
|
||||||
<p class="margin-none">Kio</p>
|
<p class="margin-none">Kio</p>
|
||||||
<a href="https://kitsunes.club/@Kio" class="margin-none">@Kio@kitsunes.club</a>
|
<a href="https://kitsunes.club/@Kio" class="margin-none">@Kio@kitsunes.club</a>
|
||||||
<p class="margin-none">Funding, hosting, design</p>
|
<p class="margin-none">Funding, hosting, design</p>
|
||||||
|
|
Loading…
Add table
Reference in a new issue