-
-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (40 loc) · 982 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
40
41
42
43
44
# SPDX-FileCopyrightText: 2020 Pier Luigi Fiorini <[email protected]>
#
# SPDX-License-Identifier: CC0-1.0
name: CI
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
build:
if: "!contains(github.event.head_commit.message, 'ci skip')"
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '^1.14' ]
name: Go ${{ matrix.go }}
steps:
- name: Install dependencies
run: sudo apt-get install -y make libostree-dev
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Build
run: make
docker:
if: "!contains(github.event.head_commit.message, 'ci skip')"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build container image
run: docker build -t liriorg/ostree-image-creator .