CI: rework Github build workflows and Dockerfile

This commit is contained in:
Quentin McGaw
2021-01-06 06:02:31 +00:00
parent bf6bab7963
commit 3f012dd7a3
7 changed files with 159 additions and 83 deletions

View File

@@ -1,21 +0,0 @@
name: Docker build
on:
pull_request:
branches: [master]
paths:
- .github/workflows/build.yml
- cmd/**
- internal/**
- .dockerignore
- .golangci.yml
- Dockerfile
- go.mod
- go.sum
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build image
run: docker build .