diff --git a/.github/workflows/skyetel-release.yml b/.github/workflows/skyetel-release.yml index 6db97de..13e0a78 100644 --- a/.github/workflows/skyetel-release.yml +++ b/.github/workflows/skyetel-release.yml @@ -14,6 +14,10 @@ jobs: runs-on: ubuntu-latest if: ${{ startsWith(github.ref, 'refs/tags/somleng-skyetel') }} steps: + - name: Get version from tag + id: get-version + run: echo "version=${GITHUB_REF_NAME#somleng-skyetel/}" >> $GITHUB_OUTPUT + - name: Checkout uses: actions/checkout@v4 @@ -31,7 +35,7 @@ jobs: images: | ghcr.io/somleng/somleng-skyetel tags: | - type=match,pattern=somleng-skyetel-(v.*),group=1 + type=match,pattern=somleng-skyetel\/(v.*),group=1 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -45,13 +49,6 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - create-sentry-release: - name: Create Sentry Release - runs-on: ubuntu-latest - if: ${{ startsWith(github.ref, 'refs/tags/somleng-skyetel-v') }} - steps: - - uses: actions/checkout@v4 - - name: Create Sentry release uses: getsentry/action-release@v1 env: @@ -60,4 +57,4 @@ jobs: SENTRY_PROJECT: somleng-skyetel with: environment: production - version: ${{ github.ref_name }} + version: ${{ steps.get-version.outputs.version }} diff --git a/.github/workflows/skyetel.yml b/.github/workflows/skyetel.yml index e9e4b4f..da13803 100644 --- a/.github/workflows/skyetel.yml +++ b/.github/workflows/skyetel.yml @@ -1,6 +1,9 @@ name: Skyetel -on: push +on: + push: + branches: + - "**" defaults: run: diff --git a/skyetel/README.md b/skyetel/README.md index b54d0cf..deb059e 100644 --- a/skyetel/README.md +++ b/skyetel/README.md @@ -1,4 +1,4 @@ -# gSkyetel +# Skyetel [![Build](https://github.com/somleng/somleng-integrations/actions/workflows/skyetel.yml/badge.svg)](https://github.com/somleng/somleng-integrations/actions/workflows/skyetel.yml)