Add a Github workflow for building docker images

This commit is contained in:
Martin Šalata
2021-04-02 22:45:27 +02:00
parent 231f9a0b5e
commit efeb131dd1
2 changed files with 33 additions and 0 deletions

33
.github/workflows/release-docker.yaml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: Release docker images
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.14.0
- name: Setup make
run: |
apt update
apt install -y make
- name: Checkout
uses: actions/checkout@v1
with:
ref: main
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: make build-images
run: make build-images