-
-
Notifications
You must be signed in to change notification settings - Fork 6
65 lines (51 loc) · 1.71 KB
/
docker-image-pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Docker Image CI for PRs
on:
pull_request:
branches: [ master ]
jobs:
test_build:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Build burp server
id: docker_build_burp_server_latest
uses: docker/build-push-action@v5
with:
context: ./burp-server
file: ./burp-server/Dockerfile
platforms: linux/amd64,linux/arm64
builder: ${{ steps.buildx.outputs.name }}
push: false
tags: burp-server:latest
- name: Image digest
run: echo ${{ steps.docker_build_burp_server_latest.outputs.digest }}
- name: Build burp ui
id: docker_build_burp_ui_latest
uses: docker/build-push-action@v5
with:
context: ./burp-ui
file: ./burp-ui/Dockerfile
platforms: linux/amd64,linux/arm64
builder: ${{ steps.buildx.outputs.name }}
push: false
tags: burp-ui:latest
- name: Image digest
run: echo ${{ steps.docker_build_burp_ui_latest.outputs.digest }}
- name: Build burp client
id: docker_build_burp_client_latest
uses: docker/build-push-action@v5
with:
context: ./burp-client
file: ./burp-client/Dockerfile
platforms: linux/amd64,linux/arm64
builder: ${{ steps.buildx.outputs.name }}
push: false
tags: burp-client:latest
- name: Image digest
run: echo ${{ steps.docker_build_burp_client_latest.outputs.digest }}