Switch from v2 to latest

This commit is contained in:
aceberg 2024-10-22 00:30:25 +07:00
parent eb96dabb06
commit 0da9fcfd97
4 changed files with 18 additions and 18 deletions

View file

@ -25,18 +25,18 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# - name: Login to GHCR
# uses: docker/login-action@v3
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64
push: true
tags: |
ghcr.io/${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.TAGS }}
# - name: Build and push
# uses: docker/build-push-action@v6
# with:
# context: .
# platforms: linux/amd64
# push: true
# tags: |
# ghcr.io/${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.TAGS }}

View file

@ -49,7 +49,7 @@ docker run --name wyl \
-e "TZ=$YOURTIMEZONE" \
--network="host" \
-v $DOCKERDATAPATH/wyl:/data/WatchYourLAN \
aceberg/watchyourlan:v2
aceberg/watchyourlan
```
Web GUI should be at http://localhost:8840
@ -174,7 +174,7 @@ docker run --name wyl \
-e "TZ=$YOURTIMEZONE" \
--network="host" \
-v $DOCKERDATAPATH/wyl:/data/WatchYourLAN \
aceberg/watchyourlan:v2 -n "http://$YOUR_IP:8850"
aceberg/watchyourlan -n "http://$YOUR_IP:8850"
```
Or use [docker-compose](docker-compose-local.yml)

View file

@ -6,7 +6,7 @@ services:
ports:
- 8850:8850
wyl:
image: aceberg/watchyourlan:v2
image: aceberg/watchyourlan
network_mode: "host"
restart: unless-stopped
command: "-n http://YOUR_IP:8850" # put your server IP or DNS name here

View file

@ -1,7 +1,7 @@
version: "3"
services:
wyl:
image: aceberg/watchyourlan:v2
image: aceberg/watchyourlan
network_mode: "host"
restart: unless-stopped
volumes: