File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 8989 echo "Image does not exist, will build"
9090 fi
9191
92+ - name : Extract GitHub metadata
93+ if : steps.check-image.outputs.exists == 'false'
94+ uses : docker/metadata-action@v5
95+ with :
96+ images : ${{steps.image-tag.outputs.tag}}
97+
9298 - name : Set up Docker Buildx
9399 if : steps.check-image.outputs.exists == 'false'
94100 uses : docker/setup-buildx-action@v3
Original file line number Diff line number Diff line change 1515 use-trusted-publishing :
1616 ignore :
1717 - build_pyvelox.yml
18+
1819 # linux-build-base.yml uses ghcr.io/y-scope/docker-github-actions-runner:ubuntu-jammy
1920 # which is our own self-maintained image - we intentionally use the floating tag to
2021 # receive security and maintenance updates automatically
Original file line number Diff line number Diff line change @@ -57,14 +57,12 @@ ENV CCACHE_MAXSIZE=5G
5757# by CI builds (which run in /__w/velox/velox/)
5858ENV CCACHE_NOHASHDIR=true
5959
60- # Copy velox source for warmup build to populate ccache
61- COPY . /tmp/velox-src/
62- WORKDIR /tmp/velox-src
63-
6460# Build velox once to warm up ccache
6561# NOTE:
6662# - We set `CCACHE_BASEDIR` so cache keys use relative paths.
6763# - We clear the stats after warmup so that CI builds only show their own cache hits.
64+ COPY . /tmp/velox-src/
65+ WORKDIR /tmp/velox-src
6866RUN CCACHE_BASEDIR=/tmp/velox-src make release \
6967 && echo "CCache statistics after warmup build:" \
7068 && ccache --verbose --show-stats \
You can’t perform that action at this time.
0 commit comments