-
Notifications
You must be signed in to change notification settings - Fork 10
36 lines (31 loc) · 850 Bytes
/
test.yaml
File metadata and controls
36 lines (31 loc) · 850 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
36
---
name: Test Docker image
on:
- pull_request
permissions:
contents: read
jobs:
build:
name: Build Docker image
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build stable
uses: docker/build-push-action@v6
with:
build-args: |
WINE_FLAVOUR=stable
cache-to: type=local,dest=/tmp/buildx-cache,mode=max
- name: Build devel
uses: docker/build-push-action@v6
with:
build-args: |
WINE_FLAVOUR=devel
cache-from: type=local,src=/tmp/buildx-cache
- name: Build staging
uses: docker/build-push-action@v6
with:
build-args: |
WINE_FLAVOUR=staging
cache-from: type=local,src=/tmp/buildx-cache