rename the docker tag from :main to :latest
Signed-off-by: Xe Iaso <xe@tailscale.com>
This commit is contained in:
parent
7442ab6f69
commit
f80c4c1ba8
2
.github/workflows/nix.yaml
vendored
2
.github/workflows/nix.yaml
vendored
|
@ -30,7 +30,7 @@ jobs:
|
||||||
- name: "Docker image push"
|
- name: "Docker image push"
|
||||||
if: "github.event_name == 'push' && github.ref_name == 'main'"
|
if: "github.event_name == 'push' && github.ref_name == 'main'"
|
||||||
run: |
|
run: |
|
||||||
docker push ghcr.io/tailscale-dev/tclip:main
|
docker push ghcr.io/tailscale-dev/tclip:latest
|
||||||
- name: "Portable service build"
|
- name: "Portable service build"
|
||||||
run: |
|
run: |
|
||||||
nix build .#portable-service
|
nix build .#portable-service
|
||||||
|
|
|
@ -64,7 +64,7 @@ into that folder.
|
||||||
app = "FLY_APP_NAME"
|
app = "FLY_APP_NAME"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
image = "ghcr.io/tailscale-dev/tclip:main"
|
image = "ghcr.io/tailscale-dev/tclip:latest"
|
||||||
|
|
||||||
[deploy]
|
[deploy]
|
||||||
strategy = "immediate"
|
strategy = "immediate"
|
||||||
|
@ -106,7 +106,7 @@ docker run \
|
||||||
-e TS_AUTHKEY=<key> \
|
-e TS_AUTHKEY=<key> \
|
||||||
-n tclip \
|
-n tclip \
|
||||||
--restart always \
|
--restart always \
|
||||||
ghcr.io/tailscale-dev/tclip:main
|
ghcr.io/tailscale-dev/tclip:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Updating
|
#### Updating
|
||||||
|
@ -115,7 +115,7 @@ Every so often you should pull a new version of tclip and
|
||||||
recreate the container:
|
recreate the container:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker pull ghcr.io/tailscale-dev/tclip:main
|
docker pull ghcr.io/tailscale-dev/tclip:latest
|
||||||
docker rm -f tclip
|
docker rm -f tclip
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
docker = pkgs.dockerTools.buildLayeredImage {
|
docker = pkgs.dockerTools.buildLayeredImage {
|
||||||
name = "ghcr.io/tailscale-dev/tclip";
|
name = "ghcr.io/tailscale-dev/tclip";
|
||||||
tag = "main";
|
tag = "latest";
|
||||||
config.Cmd = [ "${web}/bin/web" ];
|
config.Cmd = [ "${web}/bin/web" ];
|
||||||
contents = [ pkgs.cacert ];
|
contents = [ pkgs.cacert ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue