rename the docker tag from :main to :latest

Signed-off-by: Xe Iaso <xe@tailscale.com>
This commit is contained in:
Xe Iaso 2023-01-31 16:33:33 +00:00
parent 7442ab6f69
commit f80c4c1ba8
3 changed files with 5 additions and 5 deletions

View file

@ -30,7 +30,7 @@ jobs:
- name: "Docker image push"
if: "github.event_name == 'push' && github.ref_name == 'main'"
run: |
docker push ghcr.io/tailscale-dev/tclip:main
docker push ghcr.io/tailscale-dev/tclip:latest
- name: "Portable service build"
run: |
nix build .#portable-service

View file

@ -64,7 +64,7 @@ into that folder.
app = "FLY_APP_NAME"
[build]
image = "ghcr.io/tailscale-dev/tclip:main"
image = "ghcr.io/tailscale-dev/tclip:latest"
[deploy]
strategy = "immediate"
@ -106,7 +106,7 @@ docker run \
-e TS_AUTHKEY=<key> \
-n tclip \
--restart always \
ghcr.io/tailscale-dev/tclip:main
ghcr.io/tailscale-dev/tclip:latest
```
#### Updating
@ -115,7 +115,7 @@ Every so often you should pull a new version of tclip and
recreate the container:
```
docker pull ghcr.io/tailscale-dev/tclip:main
docker pull ghcr.io/tailscale-dev/tclip:latest
docker rm -f tclip
```

View file

@ -45,7 +45,7 @@
docker = pkgs.dockerTools.buildLayeredImage {
name = "ghcr.io/tailscale-dev/tclip";
tag = "main";
tag = "latest";
config.Cmd = [ "${web}/bin/web" ];
contents = [ pkgs.cacert ];
};