Create docker.yml

This commit is contained in:
Sebastián Estévez 2020-03-27 13:13:35 -04:00 committed by GitHub
parent 7ead7b352e
commit 26533a4807
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

23
.github/workflows/docker.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Docker Release
on:
push:
tags:
- 'nosqlbench-*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build nosqlbench docker
run: cd nb && docker build -t nosqlbench -f ./Dockerfile-build ./
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: nosqlbench/nosqlbench
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tag_names: true
dockerfile: Dockerfile
workdir: nb