Adding logs

This commit is contained in:
2024-12-06 12:52:17 +01:00
parent c3c1821286
commit e07a8e1386
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
FROM public.ecr.aws/docker/library/node:22-alpine3.20 FROM public.ecr.aws/docker/library/node:22-alpine3.20
# Install git for gitea actions and ansible # Install git for gitea actions and ansible
RUN apk add --no-cache git curl unzip docker-cli-buildx bash containerd RUN apk add --no-cache git curl unzip docker-cli-buildx bash
WORKDIR /usr/src WORKDIR /usr/src

View File

@@ -39,7 +39,7 @@ fi
if [ "$INPUT_PULL_CACHE" = "true" ]; then if [ "$INPUT_PULL_CACHE" = "true" ]; then
IMAGE_CACHE_NAME="${IMAGE_NAME%%:*}:build-cache" IMAGE_CACHE_NAME="${IMAGE_NAME%%:*}:build-cache"
DOCKER_BUILD_OPTIONS+=("--cache-from" "type=registry,ref=${IMAGE_CACHE_NAME}") DOCKER_BUILD_OPTIONS+=("--cache-from" "type=registry,ref=${IMAGE_CACHE_NAME}")
DOCKER_BUILD_OPTIONS+=("--cache-to" "type=registry,ref=${IMAGE_CACHE_NAME},mode=max") DOCKER_BUILD_OPTIONS+=("--cache-to" "type=registry,image-manifest=true,oci-mediatypes=true,ref=${IMAGE_CACHE_NAME},mode=max")
echo "Using docker image cache ${IMAGE_CACHE_NAME}" echo "Using docker image cache ${IMAGE_CACHE_NAME}"
fi fi