From 56f2101e66a2163b8c3a9e8792429bbf81d11f41 Mon Sep 17 00:00:00 2001 From: Julien Bouquillon Date: Wed, 2 Dec 2020 14:04:41 +0100 Subject: [PATCH] chore: push docker tags too --- .github/workflows/dockerhub-push.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dockerhub-push.yml b/.github/workflows/dockerhub-push.yml index 405cab37..ab794aec 100644 --- a/.github/workflows/dockerhub-push.yml +++ b/.github/workflows/dockerhub-push.yml @@ -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 }} \ No newline at end of file + password: ${{ secrets.DOCKER_PASSWORD }} + tags: "latest,${{ env.STATE_RELEASE_VERSION }}"