Skip to content

chore(release): 1.0.1 #18

chore(release): 1.0.1

chore(release): 1.0.1 #18

Workflow file for this run

name: Docker trigger
on:
push:
tags:
- 'docker-trigger@*.*.*'
pull_request:
types: [closed]
branches:
- main
env:
RELEASE_NAME: docker-trigger
GH_TOKEN: ${{ secrets.GIT_TOKEN }}
jobs:
release-version:
name: Release Version
runs-on: ubuntu-latest
environment: release
if: github.event_name == 'pull_request' && github.event.pull_request.merged==true
outputs:
release_version: ${{ steps.release_trigger.outputs.release_version }}
pr_log: ${{ steps.release_trigger.outputs.pr_log }}
steps:
- uses: actions/[email protected]
- name: setup node
id: release_trigger
uses: mitch1009/[email protected]
with:
git_user_email: ${{secrets.GIT_USER_EMAIL}}
git_username: ${{secrets.GIT_USERNAME }}
gpg_private_key: ${{secrets.GPG_PRIVATE_KEY}}
gpg_passphrase: ${{secrets.GLOBAL_GPG_PASSPHRASE}}
git_token: ${{secrets.GIT_TOKEN}}
bump_script: "release"
release_branch: "main"
version_file_path: "package.json"
create-release:
name: Create New Release πŸŽ‰
runs-on: ubuntu-latest
needs: [release-version]
permissions:
contents: write
id-token: write
pull-requests: write
steps:
- name: Checkout code
uses: actions/[email protected]
with:
fetch-depth: 0 # Fetch all history for all tags and branches
- name: Create Release
env:
GH_TOKEN: ${{ env.GIT_TOKEN }}
run: |
gh release create v${{ needs.release-version.outputs.release_version }} \
--title "v${{ needs.release-version.outputs.release_version }}" \
--notes "## 🎍 What's new in this release:
${{ needs.release-version.outputs.pr_log }}
## πŸ™πŸΎ Thank You:
A big thank you to all our amazing engineers and maintainers
"