Setup release of docker images to dockerhub

This commit is contained in:
Martin Šalata
2021-04-02 23:15:08 +02:00
parent cfa76c2953
commit c80ce5e9a6
5 changed files with 19 additions and 12 deletions

View File

@@ -9,11 +9,6 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.15.0'
- name: Checkout
uses: actions/checkout@v1
with:
@@ -24,5 +19,11 @@ jobs:
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: make build-image
run: make build-image
- name: make image
run: make image
env:
DOCKER_USER: '${{ secrets.DOCKER_USER }}'
DOCKER_TOKEN: '${{ secrets.DOCKER_TOKEN }}'
- name: make docker-logout
run: make docker-logout