diff --git a/.github/workflows/docs-release.yaml b/.github/workflows/docs-release.yaml index db9fb13..4b3e732 100644 --- a/.github/workflows/docs-release.yaml +++ b/.github/workflows/docs-release.yaml @@ -5,11 +5,13 @@ on: - docs/** branches: - main + - develop pull_request: paths: - docs/** branches: - main + - develop jobs: validate-docs: diff --git a/.github/workflows/push_quickstart.yaml b/.github/workflows/push_quickstart.yaml index 4fe4df6..d3d33a9 100644 --- a/.github/workflows/push_quickstart.yaml +++ b/.github/workflows/push_quickstart.yaml @@ -3,6 +3,7 @@ on: push: branches: - main + - develop paths: - "quickstart.sh" diff --git a/.github/workflows/tag-release.yaml b/.github/workflows/tag-release.yaml index 7411b8a..28cab9a 100644 --- a/.github/workflows/tag-release.yaml +++ b/.github/workflows/tag-release.yaml @@ -28,13 +28,27 @@ jobs: - name: Expose GH Runtime uses: crazy-max/ghaction-github-runtime@v3 + - name: set lower case owner name + run: | + echo "OWNER_LC=${OWNER,,}" >>${GITHUB_ENV} + env: + OWNER: "${{ github.repository_owner }}" + + - name: Convert repository name to lowercase + run: echo "REPO_NAME_LC=$(echo ${{ github.event.repository.name }} | awk '{print tolower($0)}')" >> $GITHUB_ENV + - name: Build and Push Docker Images run: | - TAG=${GITHUB_REF#refs/heads/} make build_and_push_images + if [[ $GITHUB_REF == refs/tags/* ]]; then + TAG=${GITHUB_REF#refs/tags/} + else + TAG=${GITHUB_REF#refs/heads/} + fi + make build_and_push_images env: REGISTRY: ghcr.io - ORG: ${{ github.repository_owner }} - REPO: ${{ github.event.repository.name }} + ORG: ${{ env.OWNER_LC }} + REPO: ${{ env.REPO_NAME_LC }} GITHUB_WORKFLOW: ${{ github.workflow }} build-tauri: