adding docker

dev
Mzack9999 2020-06-04 11:24:01 +02:00
parent 3f5275f1c7
commit f1146fd1bb
1 changed files with 17 additions and 0 deletions

17
.github/workflows/dockerhub-push.yml vendored Normal file
View File

@ -0,0 +1,17 @@
# dockerhub-push pushes docker build to dockerhub automatically
# on the creation of a new release
name: Publish to Dockerhub on creation of a new release
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Publish to Dockerhub Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: projectdiscovery/nuclei
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}