Merge pull request #238 from strukturag/ci-docker

CI: Build docker image.
This commit is contained in:
Joachim Bauch 2022-04-26 15:02:35 +02:00 committed by GitHub
commit 88af6f9285
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 1 deletions

22
.github/workflows/docker.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Docker image
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build Docker image
uses: docker/build-push-action@v2
with:
context: .

View file

@ -1,4 +1,4 @@
FROM golang:1.16 AS builder
FROM golang:1.18 AS builder
WORKDIR /workdir