Skip to content

Commit dd82af7

Browse files
jnewton03claude
andcommitted
fix: enable Docker Buildx to eliminate legacy builder deprecation warnings
Adds Docker Buildx setup to test.yml and trivy.yml workflows to resolve deprecation warnings and align with production workflows. Changes: - test.yml: Add docker/setup-buildx-action@v3 after macOS Docker setup - trivy.yml: Add docker/setup-buildx-action@v3 before image builds Benefits: - Removes "The legacy builder is deprecated" warnings from all workflows - Aligns with production workflows (create-release.yml, build-qa-docker.yml) - Enables BuildKit for faster builds and better caching - No changes required to existing docker build commands - Future-proofs workflows before legacy builder removal All workflows now use consistent Docker build approach: ✅ create-release.yml - Already using Buildx ✅ build-qa-docker.yml - Already using Buildx ✅ test.yml - Now using Buildx (this PR) ✅ trivy.yml - Now using Buildx (this PR) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 5d4673e commit dd82af7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ jobs:
3636
- name: Setup Docker on macOS
3737
if: matrix.os == 'macos-15-intel'
3838
uses: douglascamata/[email protected]
39-
39+
40+
- name: Set up Docker Buildx
41+
uses: docker/setup-buildx-action@v3
42+
4043
- name: Build an image from ${{ matrix.dockerfile }}
4144
run: |
4245
docker build -f ${{ matrix.dockerfile }} -t liquibase/liquibase:${{ github.sha }} .

.github/workflows/trivy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ jobs:
5252
,/vault/liquibase
5353
parse-json-secrets: true
5454

55+
- name: Set up Docker Buildx
56+
uses: docker/setup-buildx-action@v3
57+
5558
- name: Build ${{ matrix.image.name }}${{ matrix.image.suffix }} from Dockerfile
5659
run: |
5760
docker build -f ${{ matrix.image.dockerfile }} -t ${{ matrix.image.name }}${{ matrix.image.suffix }}:${{ github.sha }} .

0 commit comments

Comments
 (0)