feat: try fix ci cd
This commit is contained in:
+12
-2
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user