Skip to content

Commit 1d23481

Browse files
committed
ci: update
1 parent 0deecae commit 1d23481

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/docker/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
FROM ghcr.io/loongarchlinux/archlinux:latest
22
ARG TARGETARCH
3-
RUN pacman --noconfirm -Syu
3+
RUN --mount=type=cache,target=/var/cache/pacmant,sharing=locked \
4+
--mount=type=cache,target=/var/lib/pacman/sync,sharing=locked \
5+
pacman --noconfirm -Syu

.github/workflows/docker-images.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ on:
77
- cron: "0 0 * * FRI"
88
pull_request:
99
paths:
10+
- ".github/docker/Dockerfile"
1011
- ".github/workflows/docker-images.yml"
1112
push:
1213
branches:
1314
- main
1415
paths:
16+
- ".github/docker/Dockerfile"
1517
- ".github/workflows/docker-images.yml"
1618

1719
jobs:

0 commit comments

Comments
 (0)