fix: use docker gateway IP 172.17.0.1 for Gitea + registry
This commit is contained in:
@@ -42,7 +42,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: localhost:5000/admin/hello-world:${{ github.sha }},localhost:5000/admin/hello-world:latest
|
tags: 172.17.0.1:5000/admin/hello-world:${{ github.sha }},172.17.0.1:5000/admin/hello-world:latest
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: build-push
|
needs: build-push
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: localhost:5000/admin/hello-world:${TAG:-latest}
|
image: 100.92.252.2:5000/admin/hello-world:${TAG:-latest}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- app-net
|
- app-net
|
||||||
|
|||||||
Reference in New Issue
Block a user