mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-10-16 12:30:37 -04:00
Changed Earthfile code-linux job to use new cache_tag scheme
This commit is contained in:
parent
aef23f6ac3
commit
a73485ab9a
1 changed files with 4 additions and 3 deletions
|
@ -7,7 +7,7 @@ VERSION 0.8
|
||||||
## `+build-linux-cache` target, and defaulting to `registry.gitlab.com/veilid/veilid` if not specified
|
## `+build-linux-cache` target, and defaulting to `registry.gitlab.com/veilid/veilid` if not specified
|
||||||
##
|
##
|
||||||
## BASE - tells the build whether it should run in the default mode which runs the complete build, or run by starting
|
## BASE - tells the build whether it should run in the default mode which runs the complete build, or run by starting
|
||||||
## with the remote `container` value which uses `build-cache:latest` as set up in the projects Container Registry
|
## with the remote `container` value which uses `$CACHE_NAME:$CACHE_TAG` as set up in the projects Container Registry
|
||||||
##
|
##
|
||||||
########################################################################################################################
|
########################################################################################################################
|
||||||
|
|
||||||
|
@ -172,8 +172,9 @@ code-linux:
|
||||||
FROM +deps-linux
|
FROM +deps-linux
|
||||||
ELSE
|
ELSE
|
||||||
ARG CI_REGISTRY_IMAGE=registry.gitlab.com/veilid/veilid
|
ARG CI_REGISTRY_IMAGE=registry.gitlab.com/veilid/veilid
|
||||||
FROM $CI_REGISTRY_IMAGE/build-cache:latest
|
ARG CACHE_NAME
|
||||||
# FROM registry.gitlab.com/veilid/build-cache:latest
|
ARG CACHE_TAG
|
||||||
|
FROM $CI_REGISTRY_IMAGE/$CACHE_NAME:$CACHE_TAG
|
||||||
END
|
END
|
||||||
COPY --keep-ts --dir .cargo build_docs.sh files scripts veilid-cli veilid-core veilid-server veilid-tools veilid-flutter veilid-wasm veilid-remote-api Cargo.lock Cargo.toml /veilid
|
COPY --keep-ts --dir .cargo build_docs.sh files scripts veilid-cli veilid-core veilid-server veilid-tools veilid-flutter veilid-wasm veilid-remote-api Cargo.lock Cargo.toml /veilid
|
||||||
# Check to make sure Cargo.lock is up to date
|
# Check to make sure Cargo.lock is up to date
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue