Skip to content
Snippets Groups Projects
Commit de016543 authored by André Büsgen's avatar André Büsgen
Browse files

refactor(ci): try registry cache

parent d3d8f986
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,7 @@ on: ...@@ -23,6 +23,7 @@ on:
env: env:
TEST_TAG: horaceworblehat/borg-server:test TEST_TAG: horaceworblehat/borg-server:test
CACHE_TAG: horaceworblehat/borg-server:buildcache
jobs: jobs:
docker: docker:
...@@ -84,8 +85,8 @@ jobs: ...@@ -84,8 +85,8 @@ jobs:
with: with:
load: true load: true
tags: ${{ env.TEST_TAG }} tags: ${{ env.TEST_TAG }}
cache-from: type=gha cache-from: type=registry,ref=${{ env.TEST_TAG }}
cache-to: type=gha,mode=max cache-to: type=registry,ref=${{ env.TEST_TAG }},mode=max
- name: Run small selftest on build container image - name: Run small selftest on build container image
...@@ -102,8 +103,10 @@ jobs: ...@@ -102,8 +103,10 @@ jobs:
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
platforms: linux/386,linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x platforms: linux/386,linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
cache-from: type=gha cache-from: type=registry,ref=${{ env.TEST_TAG }}
cache-to: type=gha,mode=max cache-to: type=registry,ref=${{ env.TEST_TAG }},mode=max
- name: Sign image with a key - name: Sign image with a key
run: | run: |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment