-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (37 loc) · 976 Bytes
/
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
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.7
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 }}