From 4c0f0064ab2fce9ef45d21dd46f89659452ad736 Mon Sep 17 00:00:00 2001 From: ver4a Date: Sat, 16 Nov 2024 23:49:37 +0100 Subject: [PATCH] Make cache directory In commit 91953586e264d564e2ed8dbb3b4df4943d21d584 I missed the fact that the cache directory doesn't exist yet, this corrects that. --- .forgejo/workflows/build-image.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/build-image.yaml b/.forgejo/workflows/build-image.yaml index a33f4f0..5e451c3 100644 --- a/.forgejo/workflows/build-image.yaml +++ b/.forgejo/workflows/build-image.yaml @@ -10,6 +10,7 @@ jobs: - run: cd ${{ env.GITHUB_WORKSPACE }} - run: podman login -u ${{ vars.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }} ${{ vars.REGISTRY_DOMAIN }} # Prepare dnf5 metadata cache (fedora repos, rpmfusion will come later) + - run: mkdir cache - run: podman run --replace --rm --pull=always --name kde-dnf-makecache -v ./cache:/var/cache/libdnf5:z registry.fedoraproject.org/fedora-minimal:41 dnf5 makecache # base - run: podman build . -f Dockerfile.kde --no-cache --pull=always -v ./cache:/var/cache/libdnf5:O --squash -t ${{ vars.REGISTRY_DOMAIN }}/ver4a/onc-kde:main @@ -32,6 +33,7 @@ jobs: - run: cd ${{ env.GITHUB_WORKSPACE }} - run: podman login -u ${{ vars.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }} ${{ vars.REGISTRY_DOMAIN }} # Prepare dnf5 metadata cache (fedora repos, rpmfusion will come later)$ + - run: mkdir cache - run: podman run --replace --rm --pull=always --name gnome-dnf-makecache -v ./cache:/var/cache/libdnf5:z registry.fedoraproject.org/fedora-minimal:41 dnf5 makecache # base - run: podman build . -f Dockerfile.gnome --no-cache --pull=always -v ./cache:/var/cache/libdnf5:O --squash -t ${{ vars.REGISTRY_DOMAIN }}/ver4a/onc-gnome:main