From 34ff75146d062b3c87de142af143fe565dadc243 Mon Sep 17 00:00:00 2001 From: Rodrigo Delduca <46259+skhaz@users.noreply.github.com> Date: Wed, 8 Nov 2023 18:24:22 -0300 Subject: [PATCH] Work in progress --- .github/workflows/deploy.yaml | 6 +++--- Dockerfile | 29 +++++++++++------------------ 2 files changed, 14 insertions(+), 21 deletions(-) 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 <