Skip to content

Commit

Permalink
CI: Add condition to prevent building for sub-module releases
Browse files Browse the repository at this point in the history
  • Loading branch information
AgustinSRG committed Dec 6, 2024
1 parent 7db02ca commit 1e4ea05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:

jobs:
build:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -65,6 +66,7 @@ jobs:
retention-days: 1

merge:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
runs-on: ubuntu-latest
needs:
- build
Expand Down Expand Up @@ -102,6 +104,7 @@ jobs:
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}
mirror:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
runs-on: ubuntu-latest
needs:
- merge
Expand Down

0 comments on commit 1e4ea05

Please sign in to comment.