Skip to content

Commit

Permalink
fix: remove previous build process for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
emuvente committed Nov 8, 2023
1 parent ed88f23 commit d64c866
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
push:
branches:
- main
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-rc*'

env:
GITHUB_PAT: "${{ secrets.KIVA_ROBOT_GITHUB_PAT }}"
Expand Down Expand Up @@ -55,8 +52,8 @@ jobs:
# Build and push the image to ECR
build:
runs-on: ubuntu-latest
# Run on merges to development or tag pushes (done by create-release workflow)
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags')
# Run on merges to development (main)
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit d64c866

Please sign in to comment.