diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index 911e14f..57e56a1 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -26,12 +26,13 @@ jobs: - name: Check for changed files id: filter + shell: bash # Explicitly specify bash run: | - if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then + if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then # If manually triggered, build both echo "backend=true" >> $GITHUB_OUTPUT echo "frontend=true" >> $GITHUB_OUTPUT - elif [[ "${{ github.ref }}" == refs/tags/* ]]; then + elif [ "${{ github.ref }}" = refs/tags/* ]; then # If it's a tag, build both echo "backend=true" >> $GITHUB_OUTPUT echo "frontend=true" >> $GITHUB_OUTPUT @@ -59,6 +60,7 @@ jobs: container: image: ghcr.io/catthehacker/ubuntu:act-latest steps: + # Rest of your backend job... - name: Checkout Repository uses: actions/checkout@v4 @@ -74,8 +76,9 @@ jobs: - name: Extract metadata id: meta + shell: bash # Explicitly specify bash run: | - if [[ $GITHUB_REF == refs/tags/* ]]; then + if [ "$GITHUB_REF" = refs/tags/* ]; then VERSION=${GITHUB_REF#refs/tags/v} else VERSION=latest @@ -109,6 +112,7 @@ jobs: container: image: ghcr.io/catthehacker/ubuntu:act-latest steps: + # Rest of your frontend job... - name: Checkout Repository uses: actions/checkout@v4 @@ -124,8 +128,9 @@ jobs: - name: Extract metadata id: meta + shell: bash # Explicitly specify bash run: | - if [[ $GITHUB_REF == refs/tags/* ]]; then + if [ "$GITHUB_REF" = refs/tags/* ]; then VERSION=${GITHUB_REF#refs/tags/v} else VERSION=latest diff --git a/backend/app/main.py b/backend/app/main.py index c9f2415..7686473 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -8,7 +8,7 @@ import logging logger = logging.getLogger(__name__) -logger.info(f"Starting app") +logger.info(f"Starting app!") app = FastAPI( title=settings.PROJECT_NAME, version=settings.VERSION,