From d888931b94533f9c08b76968b1d19687a3e36e54 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sun, 20 Mar 2022 22:59:14 -0500 Subject: [PATCH] Add draft release to dockerhub publish workflow and rename it --- .../{dockerhub-publish.yml => release.yml} | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) rename .github/workflows/{dockerhub-publish.yml => release.yml} (71%) diff --git a/.github/workflows/dockerhub-publish.yml b/.github/workflows/release.yml similarity index 71% rename from .github/workflows/dockerhub-publish.yml rename to .github/workflows/release.yml index 6a89b4f..9b67278 100644 --- a/.github/workflows/dockerhub-publish.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: - "*" jobs: - build-container: + dockerhub-publish: runs-on: ubuntu-latest steps: - name: Checkout code @@ -32,3 +32,16 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + + draft-release: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Release + uses: ncipollo/release-action@v1 + with: + draft: true + generateReleaseNotes: true + token: ${{ secrets.GITHUB_TOKEN }}