Browse Source

Add draft release to dockerhub publish workflow and rename it

pull/34/head
Abheek Dhawan 3 years ago
parent
commit
d888931b94
Signed by: abheekd GPG Key ID: 7BE81B8C14475B67
  1. 15
      .github/workflows/release.yml

15
.github/workflows/dockerhub-publish.yml → .github/workflows/release.yml

@ -6,7 +6,7 @@ on:
- "*" - "*"
jobs: jobs:
build-container: dockerhub-publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
@ -32,3 +32,16 @@ jobs:
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} 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 }}
Loading…
Cancel
Save