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

View file

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

View file

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

View file

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