ci: enable CACHE
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
parent
009007fc8b
commit
1660585df3
|
@ -64,7 +64,7 @@ pipeline:
|
|||
commands:
|
||||
- mkdir ~/.earthly && echo "$EARTHLY_CONFIGURATION" > ~/.earthly/config.yaml
|
||||
- earthly bootstrap
|
||||
- earthly +appimage
|
||||
- earthly --strict +appimage
|
||||
|
||||
appimage:save:
|
||||
group: push
|
||||
|
@ -137,10 +137,10 @@ pipeline:
|
|||
- echo $${DOCKER_PASSWORD}| docker login --username $${DOCKER_USER} --password-stdin
|
||||
- mkdir ~/.earthly && echo "$EARTHLY_CONFIGURATION" > ~/.earthly/config.yaml
|
||||
- earthly bootstrap
|
||||
- earthly --push +docker-minimal --tag=latest
|
||||
- earthly --push +docker-minimal --tag=$CI_COMMIT_TAG
|
||||
- earthly --push +docker --tag=latest
|
||||
- earthly --push +docker --tag=$CI_COMMIT_TAG
|
||||
- earthly --strict --push +docker-minimal --tag=latest
|
||||
- earthly --strict --push +docker-minimal --tag=$CI_COMMIT_TAG
|
||||
- earthly --strict --push +docker --tag=latest
|
||||
- earthly --strict --push +docker --tag=$CI_COMMIT_TAG
|
||||
when:
|
||||
event: [tag]
|
||||
|
||||
|
@ -173,6 +173,6 @@ pipeline:
|
|||
commands:
|
||||
- mkdir ~/.earthly && echo "$EARTHLY_CONFIGURATION" > ~/.earthly/config.yaml
|
||||
- earthly bootstrap
|
||||
- earthly --push --secret NPM_TOKEN +publish-js-all
|
||||
- earthly --strict --push --secret NPM_TOKEN +publish-js-all
|
||||
when:
|
||||
branch: [main]
|
||||
|
|
|
@ -223,6 +223,7 @@ base-rust:
|
|||
RUN cargo install wasm-pack wasm-bindgen-cli && rustup target add wasm32-unknown-unknown
|
||||
RUN cargo install cargo-audit
|
||||
WORKDIR /upend
|
||||
CACHE $HOME/.cargo
|
||||
COPY Cargo.toml Cargo.lock .
|
||||
COPY base/Cargo.toml base/Cargo.toml
|
||||
COPY cli/Cargo.toml cli/Cargo.toml
|
||||
|
@ -234,10 +235,12 @@ base-rust-backend:
|
|||
FROM +base-rust
|
||||
COPY --dir base cli db .
|
||||
COPY --dir tools/upend_wasm tools/
|
||||
CACHE target
|
||||
|
||||
base-node:
|
||||
FROM node:lts
|
||||
FROM node:lts-iron
|
||||
RUN npm install -g pnpm
|
||||
CACHE $HOME/.local/share/pnpm
|
||||
WORKDIR /upend
|
||||
COPY +wasmlib/pkg-web tools/upend_wasm/pkg-web
|
||||
COPY +wasmlib/pkg-node tools/upend_wasm/pkg-node
|
||||
|
|
Loading…
Reference in New Issue