diff --git a/.github/workflows/skyetel.yml b/.github/workflows/skyetel.yml index 1eb83c4..33e1cef 100644 --- a/.github/workflows/skyetel.yml +++ b/.github/workflows/skyetel.yml @@ -3,7 +3,7 @@ name: Skyetel on: push: branches: "**" - tags: "v*" + tags: "somleng-skyetel-v*" defaults: run: @@ -47,7 +47,7 @@ jobs: runs-on: ubuntu-latest needs: - build - if: ${{ github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags/v') }} + if: ${{ startsWith(github.ref, 'refs/tags/somleng-skyetel-v') }} steps: - name: Checkout uses: actions/checkout@v4 @@ -66,8 +66,7 @@ jobs: images: | ghcr.io/somleng/somleng-skyetel tags: | - type=ref,event=tag - type=raw,value=beta,enable=${{ !startsWith(github.ref, 'refs/tags/v') }} + type=match,pattern=somleng-skyetel-(v.*),group=1 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -84,7 +83,7 @@ jobs: create-sentry-release: name: Create Sentry Release runs-on: ubuntu-latest - if: ${{ startsWith(github.ref, 'refs/tags/v') }} + if: ${{ startsWith(github.ref, 'refs/tags/somleng-skyetel-v') }} steps: - uses: actions/checkout@v4