Skip to content

Commit

Permalink
NOISSUE - Add building and pushing docker image to workflow (#10)
Browse files Browse the repository at this point in the history
* Init docker workflow

Signed-off-by: Ivan Milošević <[email protected]>

* Add dockerfile path

Signed-off-by: Ivan Milošević <[email protected]>

* Add SVC build arg

Signed-off-by: Ivan Milošević <[email protected]>

* Change docker repo to mainflux

Signed-off-by: Ivan Milošević <[email protected]>

* Fix end of file newline

Signed-off-by: Ivan Milošević <[email protected]>
  • Loading branch information
blokovi authored and drasko committed Jan 11, 2020
1 parent 00d08e5 commit 7115650
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,14 @@ jobs:

- 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

0 comments on commit 7115650

Please sign in to comment.