Try github action push build

This commit is contained in:
Mattias Wadman
2019-10-29 01:21:02 +01:00
parent bda04324db
commit 941a4092e2
2 changed files with 10 additions and 10 deletions

10
.github/workflows/push.yml vendored Normal file
View File

@ -0,0 +1,10 @@
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: docker build -t test .

View File

@ -1,10 +0,0 @@
sudo: required
services:
- docker
language: go
go:
- "1.13"
# a bit strange but want to reuse the test Dockerfile
script: docker build --build-arg GO_VERSION=$(go version | cut -d' ' -f 3 | cut -b 3-) .