From 4e8bab9861e075ea1dafd1e3fb34f660c063f256 Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Thu, 25 Jul 2024 13:35:53 +0200 Subject: [PATCH] Revert temporary workflow trigger. --- .github/workflows/diagnostics-image-release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/diagnostics-image-release.yaml b/.github/workflows/diagnostics-image-release.yaml index 18869360..fc6ccba4 100644 --- a/.github/workflows/diagnostics-image-release.yaml +++ b/.github/workflows/diagnostics-image-release.yaml @@ -5,6 +5,8 @@ name: Diagnostics Image Release on: workflow_dispatch: push: + tags: + - '@powersync/diagnostics-app*' concurrency: ${{ github.workflow }}-${{ github.ref }} @@ -12,6 +14,7 @@ jobs: release-docker-image: name: Build and Release diagnostics-app Docker Image runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' steps: - name: Checkout uses: actions/checkout@v4 @@ -40,7 +43,7 @@ jobs: push: true file: ./tools/diagnostics-app/Dockerfile - # # Updates the README section on the DockerHub page + # Updates the README section on the DockerHub page - name: Update repo description # Note that this 3rd party extention is recommended in the DockerHub docs: # https://docs.docker.com/build/ci/github-actions/update-dockerhub-desc/