This repository was archived by the owner on Jan 18, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 13
13
push :
14
14
branches :
15
15
- master
16
+ tags :
17
+ - " v*"
16
18
17
19
env :
18
20
REGISTRY : ghcr.io
41
43
uses : docker/metadata-action@57396166ad8aefe6098280995947635806a0e6ea
42
44
with :
43
45
images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
46
+ tags : |
47
+ type=ref,event=branch
48
+ type=ref,event=pr
49
+ type=semver,pattern={{version}}
50
+ type=semver,pattern={{major}}.{{minor}}
44
51
45
52
- name : Build and push Docker image
46
53
uses : docker/build-push-action@c56af957549030174b10d6867f20e78cfd7debc5
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ See https://github.com/resmo/nip.io/blob/master/src/backend.conf.example for an
33
33
#### Run the Container from ghcr:
34
34
35
35
``` bash
36
- docker run -d -p 0.0.0.0:53:53/tcp -p 0.0.0.0:53:53/udp -v /data/backend.conf:/usr/local/bin/backend.conf --name nip.io ghcr.io/resmo/nip-io
36
+ docker run -d -p 0.0.0.0:53:53/tcp -p 0.0.0.0:53:53/udp -v /data/backend.conf:/usr/local/bin/backend.conf --name nip.io ghcr.io/resmo/nip-io:master
37
37
```
38
38
39
39
#### Or Build the Image:
You can’t perform that action at this time.
0 commit comments