Skip to content

NOISSUE - Create workflow for building on release (#51) #1

NOISSUE - Create workflow for building on release (#51)

NOISSUE - Create workflow for building on release (#51) #1

Workflow file for this run

name: Go
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Build
run: make
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
env:
SVC: agent
with:
name: mainflux/agent
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
buildargs: SVC
dockerfile: docker/Dockerfile