Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
330a80c8b5 | ||
|
|
6ab922beed |
@@ -136,6 +136,8 @@ spec:
|
|||||||
value: $(params.path-to-dockerfile)
|
value: $(params.path-to-dockerfile)
|
||||||
- name: EXTRA_ARGS
|
- name: EXTRA_ARGS
|
||||||
value:
|
value:
|
||||||
|
- "--opt"
|
||||||
|
- "target=$(params.target-name)"
|
||||||
- --import-cache
|
- --import-cache
|
||||||
- "type=registry,ref=$(params.image-name):buildcache"
|
- "type=registry,ref=$(params.image-name):buildcache"
|
||||||
- --export-cache
|
- --export-cache
|
||||||
|
|||||||
@@ -148,6 +148,8 @@ spec:
|
|||||||
value: $(params.path-to-dockerfile)
|
value: $(params.path-to-dockerfile)
|
||||||
- name: EXTRA_ARGS
|
- name: EXTRA_ARGS
|
||||||
value:
|
value:
|
||||||
|
- "--opt"
|
||||||
|
- "target=$(params.target-name)"
|
||||||
- --import-cache
|
- --import-cache
|
||||||
- "type=registry,ref=$(params.image-name):buildcache"
|
- "type=registry,ref=$(params.image-name):buildcache"
|
||||||
- --export-cache
|
- --export-cache
|
||||||
|
|||||||
@@ -49,8 +49,8 @@ RUN --mount=type=tmpfs,target=/tmp --mount=type=cache,target=/usr/local/cargo/re
|
|||||||
FROM alpine:$ALPINE_VERSION AS natter
|
FROM alpine:$ALPINE_VERSION AS natter
|
||||||
COPY --link --from=natter-build /target/release-lto/natter /usr/bin/
|
COPY --link --from=natter-build /target/release-lto/natter /usr/bin/
|
||||||
COPY --link . /source
|
COPY --link . /source
|
||||||
COPY --link --from=private /homepage_private/static/* /source/static/
|
COPY --link --from=private /homepage_private/static /source/static/
|
||||||
COPY --link --from=explorer-build /organic_ast_explorer/dist/* /source/static/organic/ast_explorer/
|
COPY --link --from=explorer-build /organic_ast_explorer/dist /source/static/organic/ast_explorer/
|
||||||
RUN --network=none --mount=type=tmpfs,target=/tmp natter build --config /source/natter.toml
|
RUN --network=none --mount=type=tmpfs,target=/tmp natter build --config /source/natter.toml
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user