File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 3
3
cicd :
4
4
# https://github.com/internetarchive/cicd
5
5
uses : internetarchive/cicd/.github/workflows/cicd.yml@main
6
+ with :
7
+ NOMAD_VAR_PORTS : ' { 80 = "http" }'
8
+ NOMAD_VAR_HOSTNAMES : ' ["nomad.archive.org"]'
9
+ NOMAD_VAR_MEMORY : 100
10
+ NOMAD_VAR_CHECK_PROTOCOL : ' tcp'
11
+ BASE_DOMAIN : ux-b.archive.org
12
+ secrets :
13
+ NOMAD_TOKEN : xxx
Original file line number Diff line number Diff line change @@ -8,9 +8,14 @@ RUN mkdir -m777 /usr/local/sbin && \
8
8
rm nomad.zip && \
9
9
chmod 777 nomad && \
10
10
# podman for build.sh
11
- apk add bash zsh jq podman && \
11
+ apk add bash zsh jq podman caddy && \
12
12
# using podman not docker
13
13
ln -s /usr/bin/podman /usr/bin/docker
14
14
15
+ WORKDIR /app
16
+ COPY ci.yml .
17
+
15
18
WORKDIR /
16
19
COPY build.sh test.sh deploy.sh /
20
+
21
+ CMD ["/usr/sbin/caddy" , "file-server" , "-r=/app" ]
You can’t perform that action at this time.
0 commit comments