Skip to content

Merge pull request #1101 from cloudflare/dependabot/go_modules/golang… #2617

Merge pull request #1101 from cloudflare/dependabot/go_modules/golang…

Merge pull request #1101 from cloudflare/dependabot/go_modules/golang… #2617

Workflow file for this run

name: Docker
on:
push:
branches:
- main
pull_request:
branches:
- main
release:
types:
- published
permissions: read-all
jobs:
docker-amd64:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
show-progress: false
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build
id: docker_build
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
push: false
docker-arm64:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
show-progress: false
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build
id: docker_build
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
platforms: linux/arm64
push: false