diff --git a/.github/workflows/ci-release.yaml b/.github/workflows/ci-release.yaml index f5ef5e4..dfc7c5b 100644 --- a/.github/workflows/ci-release.yaml +++ b/.github/workflows/ci-release.yaml @@ -21,7 +21,7 @@ on: - "main" - "develop" - "next" - tags-ignore: + tags: - "v*" jobs: @@ -61,6 +61,7 @@ jobs: type=semver,pattern={{major}} type=semver,pattern={{version}} type=ref,event=branch + type=ref,event=pr - name: Build and push action - frontend id: docker_action_build_frontend uses: docker/build-push-action@v5 @@ -111,6 +112,7 @@ jobs: type=semver,pattern={{major}} type=semver,pattern={{version}} type=ref,event=branch + type=ref,event=pr - name: Build and push action - backend id: docker_action_build_backend uses: docker/build-push-action@v5 @@ -141,13 +143,14 @@ jobs: node-version: "20.12" - name: Semantic Release id: version - uses: cycjimmy/semantic-release-action@v4.1.0 + uses: splunk/semantic-release-action@v1.3.4 with: - semantic_version: 21.1.1 + git_committer_name: ${{ secrets.SA_GH_USER_NAME }} + git_committer_email: ${{ secrets.SA_GH_USER_EMAIL }} + gpg_private_key: ${{ secrets.SA_GPG_PRIVATE_KEY }} + passphrase: ${{ secrets.SA_GPG_PASSPHRASE }} extra_plugins: | - @semantic-release/exec - @semantic-release/git - semantic-release-replace-plugin@1.2.7 + @google/semantic-release-replace-plugin env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }}