cloudflare/pint

Public

mirrored from https://github.com/cloudflare/pintAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.58.1

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/workflows/docker.yml

62lines · modecode

1name: Docker
2
3on:
4 push:
5 branches:
6 - main
7 pull_request:
8 branches:
9 - main
10 release:
11 types:
12 - published
13
14jobs:
15 amd64:
16 runs-on: ubuntu-latest
17 steps:
18 - name: Check out code
19 uses: actions/checkout@v4
20 with:
21 show-progress: false
22 fetch-depth: 0
23
24 - name: Set up QEMU
25 uses: docker/setup-qemu-action@v3
26
27 - name: Set up Docker Buildx
28 uses: docker/setup-buildx-action@v3
29
30 - name: Build and push
31 id: docker_build
32 uses: docker/build-push-action@v5
33 with:
34 context: .
35 file: ./Dockerfile
36 platforms: linux/amd64
37 push: false
38
39 arm64:
40 if: github.event_name != 'pull_request'
41 runs-on: ubuntu-latest
42 steps:
43 - name: Check out code
44 uses: actions/checkout@v4
45 with:
46 show-progress: false
47 fetch-depth: 0
48
49 - name: Set up QEMU
50 uses: docker/setup-qemu-action@v3
51
52 - name: Set up Docker Buildx
53 uses: docker/setup-buildx-action@v3
54
55 - name: Build and push
56 id: docker_build
57 uses: docker/build-push-action@v5
58 with:
59 context: .
60 file: ./Dockerfile
61 platforms: linux/arm64
62 push: false