Fix CI: Add --network=host to docker build
This commit is contained in:
@@ -59,12 +59,12 @@ jobs:
|
||||
|
||||
- name: Build and Push API
|
||||
run: |
|
||||
docker build -t git.khalilaliouich.com/${{ github.repository_owner }}/tamagotchi-api:${{ github.sha }} ./api
|
||||
docker build --network=host -t git.khalilaliouich.com/${{ github.repository_owner }}/tamagotchi-api:${{ github.sha }} ./api
|
||||
docker push git.khalilaliouich.com/${{ github.repository_owner }}/tamagotchi-api:${{ github.sha }}
|
||||
|
||||
- name: Build and Push Frontend
|
||||
run: |
|
||||
docker build -t git.khalilaliouich.com/${{ github.repository_owner }}/tamagotchi-frontend:${{ github.sha }} ./frontend
|
||||
docker build --network=host -t git.khalilaliouich.com/${{ github.repository_owner }}/tamagotchi-frontend:${{ github.sha }} ./frontend
|
||||
docker push git.khalilaliouich.com/${{ github.repository_owner }}/tamagotchi-frontend:${{ github.sha }}
|
||||
|
||||
- name: Update Kubernetes Manifests
|
||||
|
||||
Reference in New Issue
Block a user