From a23a550da4bd243928191dc3b327bd022c7fbab4 Mon Sep 17 00:00:00 2001 From: Tasko Olevski Date: Mon, 25 Nov 2024 09:25:51 +0100 Subject: [PATCH] squashme: fix build steps --- .github/workflows/build-and-push-to-docker.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-push-to-docker.yml b/.github/workflows/build-and-push-to-docker.yml index 04dc4fab..deeeb92d 100644 --- a/.github/workflows/build-and-push-to-docker.yml +++ b/.github/workflows/build-and-push-to-docker.yml @@ -711,8 +711,8 @@ jobs: fail-fast: true matrix: include: - - DEBIAN_VERSION: debian - DEBIAN_VERSION: bookworm + LATEST: true steps: - name: Docker Login uses: docker/login-action@v3 @@ -732,12 +732,12 @@ jobs: tags: | type=sha,prefix=${{ matrix.DEBIAN_VERSION }}- type=semver,pattern={{version}},prefix=${{ matrix.DEBIAN_VERSION }}- - type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' && matrix.DEBIAN_VERSION == 'debian' }} + type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' && matrix.LATEST }} - name: Build and export uses: docker/build-push-action@v6 with: build-args: | - BASE_IMAGE=mcr.microsoft.com/devcontainers/base:${{ matrix.DEBIAN_VERSION }} + BASE_IMAGE=debian:${{ matrix.DEBIAN_VERSION }} cache-from: type=gha cache-to: type=gha,mode=max context: docker/vscode