added release management #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: On_push_testing | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build_docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Bump version and push tag | |
uses: anothrNick/github-tag-action@1.36.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
WITH_V: true | |
DEFAULT_BUMP: patch | |
- name: change latest tag | |
uses: EndBug/latest-tag@latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
# You can change the name of the tag or branch with this input. | |
# Default: 'latest' | |
ref: 'latest' | |
# If a description is provided, the action will use it to create an annotated tag. If none is given, the action will create a lightweight tag. | |
# Default: '' | |
description: 'latest version of the rocrate-to-html.' | |
# Force-update a branch instead of using a tag. | |
# Default: false | |
force-branch: true |