-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 920 Bytes
/
test-pr-image-build.yml
File metadata and controls
35 lines (28 loc) · 920 Bytes
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
name: "PR - Test Docker Build"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# This workflow builds a docker image for every pull request, to
# confirm that the changes will still at least build even if the
# OP has not tried it themselves or configured their fork to use
# the included repos
on:
pull_request:
jobs:
test-pr-build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Docker buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
- name: Build Docker image
id: build
uses: docker/build-push-action@v7
with:
push: false
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v7
tags: automatic-ripping-machine:pr${{ github.event.number }}