-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (41 loc) · 1.08 KB
/
build.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
name: Build
on:
push:
branches:
- '!main'
pull_request: { }
jobs:
docker:
name: Docker
runs-on: ubuntu-latest
strategy:
matrix:
include:
- path: golang
version: 1.20.2
- path: node
version: 18.10.0-buster
- path: postgres
version: 14
- path: debian
version: 12.1
- path: ubuntu
version: 20.04
- path: buildkite-agent
version: 3.40.0-ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build Image
id: docker_build
uses: docker/build-push-action@v2
with:
push: false
file: images/${{ matrix.path }}/${{ matrix.version }}/Dockerfile
context: images/${{ matrix.path }}/${{ matrix.version }}
tags: containers.monetr.dev/${{ matrix.path }}:${{ matrix.version }}