From 243cb2ba7eed296d0182dea0fd3e4cef25dd8a4c Mon Sep 17 00:00:00 2001 From: Naterfute Date: Mon, 1 Sep 2025 07:57:11 -0700 Subject: [PATCH] fixed workflow run triggers --- .github/workflows/build-and-release.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-release.yaml b/.github/workflows/build-and-release.yaml index 6f96b5ead..c5b3967d0 100644 --- a/.github/workflows/build-and-release.yaml +++ b/.github/workflows/build-and-release.yaml @@ -3,7 +3,7 @@ name: Docker Build and Release Workflow on: push: branches: - - dev + - main release: types: - published @@ -11,7 +11,7 @@ on: jobs: build-dev: runs-on: ubuntu-latest - if: github.event_name == 'push' && github.ref == 'refs/heads/dev' && !contains(github.event.head_commit.message, 'Update version to') + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'Update version to') steps: - name: Checkout code uses: actions/checkout@v4 @@ -31,7 +31,10 @@ jobs: with: context: . push: true - tags: ghcr.io/${{ github.repository }}:canary + tags: | + ghcr.io/${{ github.repository }}:canary + ghcr.io/${{ github.repository }}:dev + platforms: linux/amd64 build-release: @@ -59,6 +62,7 @@ jobs: tags: | ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }} ghcr.io/${{ github.repository }}:latest + ghcr.io/${{ github.repository }}:main platforms: linux/amd64,linux/arm64 update-version: