meta: add cache to ci jobs

This commit is contained in:
ptrcnull 2023-03-28 20:27:36 +02:00
parent 8a8d68e43d
commit fa906cb560
Signed by: ptrcnull
GPG key ID: 411F7B30801DD9CA

View file

@ -4,6 +4,9 @@ workflow:
build-x86_64: &build
image: registry.git.ptrc.gay/ptrcnull/ptrcports-builder/x86_64:latest
cache:
key: repodest-x86_64
paths: [repodest/]
stage: build
script:
- setup-ssh-key "$PRIVATE_KEY"
@ -23,28 +26,49 @@ build-x86_64: &build
build-aarch64:
<<: *build
cache:
key: repodest-aarch64
paths: [repodest/]
image: registry.git.ptrc.gay/ptrcnull/ptrcports-builder/arm64v8:latest
# build-armhf:
# <<: *build
# cache:
# key: repodest-armhf
# paths: [repodest/]
# image: arm32v6/alpine:edge
# build-armv7:
# <<: *build
# cache:
# key: repodest-armv7
# paths: [repodest/]
# image: arm32v7/alpine:edge
# build-ppc64le:
# <<: *build
# cache:
# key: repodest-ppc64le
# paths: [repodest/]
# image: ppc64le/alpine:edge
# build-riscv64:
# <<: *build
# cache:
# key: repodest-riscv64
# paths: [repodest/]
# image: riscv64/alpine:edge
# build-s390x:
# <<: *build
# cache:
# key: repodest-s390x
# paths: [repodest/]
# image: s390x/alpine:edge
# build-x86:
# <<: *build
# cache:
# key: repodest-x86
# paths: [repodest/]
# image: i386/alpine:edge