diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e8ed69b..feef3d4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,8 +54,8 @@ jobs: push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max + cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache + cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max env: DOCKER_BUILD_RECORD_RETENTION_DAYS: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && '0' || '7' }} diff --git a/Containerfile b/Containerfile index db541d5..2a83121 100644 --- a/Containerfile +++ b/Containerfile @@ -4,9 +4,9 @@ FROM alpine:3.13.2 AS builder RUN apk add gcc musl-dev make perl -RUN wget https://busybox.net/downloads/busybox-1.35.0.tar.bz2 \ - && tar xf busybox-1.35.0.tar.bz2 \ - && mv /busybox-1.35.0 /busybox +RUN wget https://github.com/mirror/busybox/archive/refs/tags/1_35_0.tar.gz -O busybox.tar.gz \ + && tar xf busybox.tar.gz \ + && mv busybox-1_35_0 /busybox WORKDIR /busybox