ci: add dnf cache
All checks were successful
Build containers / changes (push) Successful in 3s
Build containers / base-image (push) Successful in 1m0s
Build containers / dependent-images (go) (push) Successful in 40s
Build containers / dependent-images (infra) (push) Successful in 57s

This commit is contained in:
Job
2025-12-29 15:33:46 +01:00
parent 32bbe1c2cd
commit 7bcccf5fb3
3 changed files with 6 additions and 3 deletions

View File

@@ -2,6 +2,7 @@ ARG TAG
FROM job79/fedora:${TAG}
USER root
RUN dnf -y install go && dnf clean all
RUN --mount=type=cache,target=/var/cache/dnf \
dnf -y install go && dnf clean all
USER user