diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 180a740..0402273 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -43,7 +43,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . - push: true + push: false tags: ${{ secrets.REGISTRY }}/${{ secrets.SERVICE_NAME }}:latest - cache-from: type=registry,ref=${{ secrets.REGISTRY }}/${{ secrets.SERVICE_NAME }}:buildcache - cache-to: type=registry,ref=${{ secrets.REGISTRY }}/${{ secrets.SERVICE_NAME }}:buildcache,mode=max + cache-from: type=gha + cache-to: type=gha,mode=max diff --git a/Dockerfile b/Dockerfile index 4d228a9..4191e76 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,4 @@ -ARG DISTRO=debian -ARG DISTRO_VERSION=bookworm-slim - -FROM ${DISTRO}:${DISTRO_VERSION} +FROM debian:bookworm-slim # ARG DEBIAN_FRONTEND=noninteractive @@ -9,7 +6,7 @@ RUN <