diff --git a/.gitea/workflows/dev-docker.yml b/.gitea/workflows/dev-docker.yml index 13cfef8..ed0ca19 100644 --- a/.gitea/workflows/dev-docker.yml +++ b/.gitea/workflows/dev-docker.yml @@ -21,23 +21,23 @@ jobs: mkdir -p /var/lib/act_runner/ cd /var/lib/act_runner/ if [ ! -d "nodbot" ]; then - git clone https://git.vfsh.dev/voidf1sh/nodbot-dev - cd nodbot-dev + git clone https://git.vfsh.dev/voidf1sh/nodbot + cd nodbot else - cd nodbot-dev + cd nodbot git checkout main git pull fi git checkout ${{ gitea.ref_name }} - name: Build the Docker image run: | - cd /var/lib/act_runner/nodbot-dev + cd /var/lib/act_runner/nodbot docker build . --file Dockerfile --tag v0idf1sh/nodbot-dev - name: Log into Docker Hub run: docker login -u $DHUB_UNAME -p $DHUB_PWORD - name: Push image to Docker Hub run: | - cd /var/lib/act_runner/nodbot-dev + cd /var/lib/act_runner/nodbot docker push v0idf1sh/nodbot-dev - name: Restart the container run: |