mirror of
https://github.com/ribbybibby/ssl_exporter.git
synced 2026-08-21 20:06:17 +00:00
25 lines
585 B
YAML
25 lines
585 B
YAML
name: build
|
|
on: [push, pull_request]
|
|
jobs:
|
|
build:
|
|
name: build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Build the Docker image
|
|
run: docker build .
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v1
|
|
with:
|
|
go-version: 1.15.x
|
|
- name: Build release snapshot
|
|
run: make snapshot
|
|
- name: Archive release snapshot
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: release-snapshot
|
|
path: |
|
|
bin/*.tar.gz
|
|
bin/*.txt
|
|
bin/*.yaml
|