chore(deps): update docker/build-push-action action to v6.7.0 #284
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: "Build & Test" | |
env: | |
PLATFORMS: "linux/amd64,linux/arm/v7,linux/arm64" # Build for which platforms | |
on: | |
pull_request: | |
types: [assigned, opened, synchronize, reopened] | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/[email protected] | |
- | |
name: Generate Build-Args | |
id: build-args | |
run: | | |
# echo ::set-output name=build-arg1::"buildarg1" | |
# echo ::set-output name=build-arg2::"buildarg2" | |
- | |
name: Hadolint | |
uses: brpaz/[email protected] | |
with: | |
dockerfile: Dockerfile | |
- | |
name: Set up QEMU | |
uses: docker/[email protected] | |
- | |
name: Set up Docker Buildx | |
uses: docker/[email protected] | |
- | |
name: Build and push | |
id: docker_build | |
uses: docker/[email protected] | |
with: | |
context: . | |
file: ./Dockerfile | |
platforms: ${{ env.PLATFORMS }} | |
push: false |