Skip to content

Bump github/codeql-action from 2 to 3 #77

Bump github/codeql-action from 2 to 3

Bump github/codeql-action from 2 to 3 #77

---
name: 03 Build with Multi-Platform
on:
push:
branches:
- main
pull_request:
jobs:
build-image:
name: Build Images
runs-on: ubuntu-latest
steps:
#NEW: (START) ##########################################################
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
#NEW: (END) ############################################################
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker build
uses: docker/build-push-action@v5
with:
push: ${{ github.event_name != 'pull_request' }}
tags: bretfisher/docker-ci-automation:03
cache-from: type=gha
cache-to: type=gha,mode=max
#NEW: (START) ##########################################################
platforms: linux/amd64,linux/arm64,linux/arm/v7
#NEW: (END) ############################################################