Feat/nats multi table support (#133) #70
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- master | |
env: | |
PROJECT: "github.com/kelindar/talaria" | |
GO111MODULE: "on" | |
jobs: | |
publish: | |
name: Docker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.16 | |
id: go | |
- name: Login to DockerHub Registry | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_PASSWORD }} | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v1 | |
- name: Build the Docker image | |
run: | | |
go build . | |
docker build . --file Dockerfile --tag kelindar/talaria:latest | |
- name: Push the Docker image | |
run: docker push kelindar/talaria:latest |