From 0da9fcfd97dcfb5615a6669513199eafd0ffec70 Mon Sep 17 00:00:00 2001 From: aceberg <1502200+aceberg@users.noreply.github.com> Date: Tue, 22 Oct 2024 00:30:25 +0700 Subject: [PATCH] Switch from v2 to latest --- .github/workflows/dev-docker-io.yml | 30 ++++++++++++++--------------- README.md | 4 ++-- docker-compose-local.yml | 2 +- docker-compose.yml | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/dev-docker-io.yml b/.github/workflows/dev-docker-io.yml index f8634f8..eee3a00 100644 --- a/.github/workflows/dev-docker-io.yml +++ b/.github/workflows/dev-docker-io.yml @@ -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: 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 }} \ No newline at end of file + # - 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 }} \ No newline at end of file diff --git a/README.md b/README.md index eb5356e..91f0222 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/docker-compose-local.yml b/docker-compose-local.yml index f4602c4..eadec75 100644 --- a/docker-compose-local.yml +++ b/docker-compose-local.yml @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index b9d0753..6dbce7b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: "3" services: wyl: - image: aceberg/watchyourlan:v2 + image: aceberg/watchyourlan network_mode: "host" restart: unless-stopped volumes: