Skip to content

Commit

Permalink
Merge pull request projectdiscovery#433 from revolunet/patch-1
Browse files Browse the repository at this point in the history
chore: push docker tags too
  • Loading branch information
ehsandeep authored Dec 3, 2020
2 parents a022ae6 + 56f2101 commit 4cba404
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/dockerhub-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ on:
release:
types: [published]
jobs:
build:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Publish to Dockerhub Registry
pre: echo ::save-state name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: projectdiscovery/nuclei
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "latest,${{ env.STATE_RELEASE_VERSION }}"

0 comments on commit 4cba404

Please sign in to comment.