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