fixup #84
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: Rebuilding Docker Images | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "**" | |
- "!ui/bindata.go" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
- name: Setup Go for use with actions | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.13.8' | |
- uses: actions/checkout@v1 | |
- name: make | |
run: | | |
mkdir -p $(go env GOPATH)/src/github.com/itpp-labs/ | |
ln -s $(pwd) $(go env GOPATH)/src/github.com/itpp-labs/hound | |
make | |
- name: Build and publish DEV Docker Image | |
uses: elgohr/Publish-Docker-Github-Action@master | |
env: | |
DEV: yes | |
with: | |
name: itpp-labs/hound/dev | |
registry: docker.pkg.github.com | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
buildargs: DEV | |
- name: Build and publish Production Docker Image | |
uses: elgohr/Publish-Docker-Github-Action@master | |
with: | |
name: itpp-labs/hound/production | |
registry: docker.pkg.github.com | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} |