Skip to content

Commit d7afa07

Browse files
change docker registry
1 parent 1cc0807 commit d7afa07

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

.github/workflows/docker-publish.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
env:
77
REGISTRY: ghcr.io
8-
IMAGE_NAME: ${{ github.repository }}
8+
IMAGE_NAME: swarm-keepalived:latest
99

1010
jobs:
1111
build:
@@ -40,4 +40,3 @@ jobs:
4040
push: ${{ github.event_name != 'pull_request' }}
4141
tags: ${{ steps.meta.outputs.tags }}
4242
labels: ${{ steps.meta.outputs.labels }}
43-

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ docker run -d --restart=always \
4343
-e KEEPALIVED_VIRTUAL_IPADDRESS="192.168.100.254, 192.168.10.254" \
4444
-e KEEPALIVED_PRIORITY="200" \
4545
-e KEEPALIVED_INTERFACE="eth0" \
46-
rootshellcoder/swarm-keepalived:latest
46+
ghcr.io/rootshell-coder/swarm-keepalived:latest
4747
```
4848

4949
docker master log (codespace)
@@ -94,7 +94,7 @@ docker run -d --restart=always \
9494
-e KEEPALIVED_VIRTUAL_IPADDRESS="192.168.100.254, 192.168.10.254" \
9595
-e KEEPALIVED_PRIORITY="100" \
9696
-e KEEPALIVED_INTERFACE="eth0" \
97-
rootshellcoder/swarm-keepalived:latest
97+
ghcr.io/rootshell-coder/swarm-keepalived:latest
9898
```
9999

100100
### backup 1
@@ -111,7 +111,7 @@ docker run -d --restart=always \
111111
-e KEEPALIVED_VIRTUAL_IPADDRESS="192.168.100.254" \
112112
-e KEEPALIVED_PRIORITY="50" \
113113
-e KEEPALIVED_INTERFACE="enp3s0" \
114-
rootshellcoder/swarm-keepalived:latest
114+
ghcr.io/rootshell-coder/swarm-keepalived:latest
115115
```
116116

117117
## Variables

example/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: '3.9'
33

44
services:
55
master:
6-
image: rootshellcoder/swarm-keepalived:latest
6+
image: ghcr.io/rootshell-coder/swarm-keepalived:latest
77
environment:
88
KEEPALIVED_UNICAST_SRC_IP: "172.16.5.4"
99
KEEPALIVED_UNICAST_PEER: "172.16.5.5, 172.16.5.6"

example/docker-compose.yml_route_default.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ docker-compose.yml
4949
---
5050
services:
5151
master:
52-
image: keepalived:latest
52+
image: ghcr.io/rootshell-coder/swarm-keepalived:latest
5353
environment:
5454
DAFAULT_GATEWAY: "108.177.16.1"
5555
KEEPALIVED_UNICAST_SRC_IP: "192.168.10.2"

example/keepalived-service.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ networks:
88

99
services:
1010
master:
11-
image: rootshellcoder/swarm-keepalived:latest
11+
image: ghcr.io/rootshell-coder/swarm-keepalived:latest
1212
environment:
1313
KEEPALIVED_UNICAST_SRC_IP: "172.16.5.4"
1414
KEEPALIVED_UNICAST_PEER: "172.16.5.5, 172.16.5.6"
@@ -27,7 +27,7 @@ services:
2727
- node.role == manager
2828
- node.labels.keepalived_master == true
2929
backup0:
30-
image: rootshellcoder/swarm-keepalived:latest
30+
image: ghcr.io/rootshell-coder/swarm-keepalived:latest
3131
environment:
3232
KEEPALIVED_UNICAST_SRC_IP: "172.16.5.5"
3333
KEEPALIVED_UNICAST_PEER: "172.16.5.4, 172.16.5.6"
@@ -46,7 +46,7 @@ services:
4646
- node.role == manager
4747
- node.labels.keepalived_backup0 == true
4848
backup1:
49-
image: rootshellcoder/swarm-keepalived:latest
49+
image: ghcr.io/rootshell-coder/swarm-keepalived:latest
5050
environment:
5151
KEEPALIVED_UNICAST_SRC_IP: "172.16.5.6"
5252
KEEPALIVED_UNICAST_PEER: "172.16.5.4, 172.16.5.5"

0 commit comments

Comments
 (0)