Skip to content

Commit

Permalink
fix: set the improvement on the right branches
Browse files Browse the repository at this point in the history
  • Loading branch information
lfbarrile01 committed Dec 18, 2024
1 parent 09e3706 commit eba8a36
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- develop
- main
- 'feature/*'
paths-ignore:
- '.gitignore'
- '**/*.env'
Expand Down Expand Up @@ -127,7 +126,7 @@ jobs:
images: ${{ env.DOCKERHUB_ORG }}/${{ env.APP_NAME }}
tags: |
${{ needs.release.outputs.semantic_tag }}
${{ github.ref == 'refs/heads/main' && 'latest' || github.ref == 'refs/heads/develop' && 'next' || startsWith(github.ref, 'refs/heads/feature/') && 'feat' }}
${{ github.ref == 'refs/heads/main' && 'latest' || github.ref == 'refs/heads/develop' && 'next' || '' }}
- name: Build Docker image
uses: docker/build-push-action@v5
Expand Down
1 change: 0 additions & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module.exports = {
branches: [
{ name: 'main', channel: 'latest' }, // Prod
{ name: 'develop', channel: 'next' }, // Dev
{ name: 'feature/improve-node-build', channel: 'feat' }, // Feature
],
plugins: [
"@semantic-release/commit-analyzer",
Expand Down

0 comments on commit eba8a36

Please sign in to comment.