From 3e1745618572ae0158f395c20a30d0012feaef4f Mon Sep 17 00:00:00 2001 From: Raj Beemi Date: Sun, 9 Jan 2022 00:09:08 +0000 Subject: [PATCH] feat: Renovate updated --- .github/workflows/docker-publish.yml | 33 ++++++++++------------------ 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 0227b19..b514353 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -13,33 +13,24 @@ env: jobs: build: - runs-on: ubuntu-latest - outputs: - version: ${{ steps.store.outputs.version }} - + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - name: Checkout repository uses: actions/checkout@v2 - - name: Create release - id: release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - id: release + uses: rymndhng/release-on-push-action@master with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - body: | - Changes in this Release - - Just CI Changes - - No functional changes - draft: false - prerelease: false - - - name: Store release version - id: store - run: echo "::set-output name=version::${{steps.release.outputs.version}}" + bump_version_scheme: patch + tag_prefix: v + release_body: ':rocket: :tada: PROD Release :rocket: :tada: :tada:' + + - name: Check Output Parameters + run: | + echo "Got tag name ${{ steps.release.outputs.tag_name }}" + echo "Got release version ${{ steps.release.outputs.version }}" - name: Log into registry ${{ env.REGISTRY }} if: github.event_name != 'pull_request'