Update docker/build-push-action action to v6 #31
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Test Docker image | |
on: | |
- pull_request | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Build Docker image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build stable | |
uses: docker/build-push-action@v6 | |
with: | |
build-args: | | |
WINE_FLAVOUR=stable | |
cache-to: type=local,dest=/tmp/buildx-cache,mode=max | |
- name: Build devel | |
uses: docker/build-push-action@v6 | |
with: | |
build-args: | | |
WINE_FLAVOUR=devel | |
cache-from: type=local,src=/tmp/buildx-cache | |
- name: Build staging | |
uses: docker/build-push-action@v6 | |
with: | |
build-args: | | |
WINE_FLAVOUR=staging | |
cache-from: type=local,src=/tmp/buildx-cache |