feat: try fix ci cd
CI / 🧪 Tests Laravel (push) Successful in 2m13s
CI / 🐳 Build & Push Images (push) Successful in 1m5s

This commit is contained in:
2026-08-13 14:30:46 +02:00
parent 334d94e712
commit 8ef1a3cff8
4 changed files with 43 additions and 20 deletions
+12 -2
View File
@@ -54,7 +54,7 @@ jobs:
docker:
name: 🐳 Build & Push Image
name: 🐳 Build & Push Images
needs: test
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
@@ -75,7 +75,17 @@ jobs:
-t git.leonmorival.xyz/leonm/daily-meal-api:${{ github.sha }} \
.
- name: 📤 Push image
- name: 🏗️ Build database backup image
run: |
docker build \
-f docker/database-backup/Dockerfile \
-t git.leonmorival.xyz/leonm/daily-meal-postgres-tools:latest \
-t git.leonmorival.xyz/leonm/daily-meal-postgres-tools:${{ github.sha }} \
docker/database-backup
- name: 📤 Push images
run: |
docker push git.leonmorival.xyz/leonm/daily-meal-api:latest
docker push git.leonmorival.xyz/leonm/daily-meal-api:${{ github.sha }}
docker push git.leonmorival.xyz/leonm/daily-meal-postgres-tools:latest
docker push git.leonmorival.xyz/leonm/daily-meal-postgres-tools:${{ github.sha }}