Test CI
All checks were successful
Build and Push Docker Images / changes (push) Successful in 4s
Build and Push Docker Images / build-backend (push) Has been skipped
Build and Push Docker Images / build-frontend (push) Has been skipped

This commit is contained in:
2025-02-27 17:31:26 +01:00
parent 7a0d6ca781
commit bd5b03ca08
2 changed files with 10 additions and 5 deletions

View File

@@ -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