-
Notifications
You must be signed in to change notification settings - Fork 6
49 lines (39 loc) · 1.13 KB
/
test-pull-request.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
name: Test pull request
on:
pull_request:
types: [opened, reopened, review_requested, synchronize]
paths:
- "Dockerfile/**"
permissions:
contents: read
packages: write
id-token: write
jobs:
standard-alpine:
name: standard-alpine-amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile/standard-alpine-amd64 --no-cache
standard-ubuntu:
name: standard-ubuntu-amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile/standard-ubuntu-amd64 --no-cache
full-alpine:
name: full-alpine-amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile/full-alpine-amd64 --no-cache
full-ubuntu:
name: full-ubuntu-amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile/full-ubuntu-amd64 --no-cache