Skip to content

Update dependency @types/node to v20.17.12 #661

Update dependency @types/node to v20.17.12

Update dependency @types/node to v20.17.12 #661

Workflow file for this run

name: buildx-pull
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Buildx pull
id: cache
uses: ./buildx-pull/
with:
images: |
registry.hub.docker.com/library/alpine:3.15
registry.hub.docker.com/library/alpine:3.16
- name: Check registry-addr
run: test "${{ steps.cache.outputs.registry-addr }}" = "localhost:5000"
- name: Check buildx-opts
env:
BUILDX_OPTS: ${{ steps.cache.outputs.buildx-opts }}
run: |
n=0
for opt in ${BUILDX_OPTS}; do
echo "image: ${opt}"
if ! [[ ${opt} == --cache-from=localhost:5000/cache-* ]]; then
echo "Wrong format" >&2
exit 1
fi
image=$(echo "${opt}" | sed 's/^--cache-from=//')
docker pull ${image}
n=$((n + 1))
done
test ${n} -eq 2