From 0eec74b280c88498a959b39ab4a1770375d60974 Mon Sep 17 00:00:00 2001 From: Punarv Pawade Date: Mon, 25 Sep 2023 17:32:51 +0530 Subject: [PATCH] Update docker-publish.yml --- .github/workflows/docker-publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index c0cc563..f551b74 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -98,8 +98,8 @@ jobs: script: | pwd cd airbot - podman stop airbot && podman rm airbot && podman image rm airbot + sudo podman stop airbot && sudo podman rm airbot && sudo podman image rm airbot echo ${{ secrets.GHCR_TOKEN }} | podman login ghcr.io -u secrets.GHCR_USERNAME --password-stdin - podman pull ghcr.io/myriadflow/airbot:main - podman run --name="airbot" --env-file=.env --net=bridge -d ghcr.io/myriadflow/airbot:main + sudo podman pull ghcr.io/myriadflow/airbot:main + sudo podman run --name="airbot" --env-file=.env --net=bridge -d ghcr.io/myriadflow/airbot:main