Skip to content

Commit

Permalink
squashme: fix build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
olevski committed Nov 25, 2024
1 parent 178f2fe commit a23a550
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-push-to-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a23a550

Please sign in to comment.