Skip to content

Commit

Permalink
feat(workflow): add semantic change log and tags
Browse files Browse the repository at this point in the history
  • Loading branch information
bsord committed Oct 22, 2020
1 parent 2ec7432 commit 4f7aa78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
Expand All @@ -24,6 +25,7 @@ jobs:
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}

- name: Generate changelog and tag with new version
id: get-next-version
if: ${{ steps.get-next-version.outputs.skipped == 'false' }}
Expand All @@ -32,6 +34,7 @@ jobs:
github-token: ${{ secrets.github_token }}
tag-prefix: ''
skip-version-file: true

- name: Create Release
if: ${{ steps.get-next-version.outputs.skipped == 'false' }}
uses: actions/create-release@v1
Expand All @@ -41,6 +44,7 @@ jobs:
tag_name: ${{ steps.get-next-version.outputs.version }}
release_name: ${{ steps.get-next-version.outputs.version }}
body: ${{ steps.get-next-version.outputs.clean_changelog }}

- name: Build and push image
uses: docker/build-push-action@v2
with:
Expand Down

0 comments on commit 4f7aa78

Please sign in to comment.