diff --git a/.gitea/workflows/deploy_dev.yaml b/.gitea/workflows/deploy_dev.yaml index 1b36ccab..7f6e13e3 100644 --- a/.gitea/workflows/deploy_dev.yaml +++ b/.gitea/workflows/deploy_dev.yaml @@ -28,16 +28,18 @@ jobs: token: ${{ secrets.CI_ACCESS_TOKEN }} submodules: true + - name: Install cpl + run: python3.10 -m pip install --extra-index-url https://pip.sh-edraft.de cpl-cli + - name: Set version run: | cd bot/docker chmod +x ./set-docker-compose-image-version.sh - ./set-docker-compose-image-version.sh sh-edraft.de/sdb-bot:$(cd ../; cpl gv)-dev sh-edraft.de/sdb-web:$(cd ../../web; npm run -s gv;)-dev + ./set-docker-compose-image-version.sh git.sh-edraft.de/sh-edraft.de/sdb-bot:$(cd ../; cpl gv)-dev git.sh-edraft.de/sh-edraft.de/sdb-web:$(cd ../../web; npm run -s gv;)-dev - name: Prepare bot build run: | cd bot - python3.10 -m pip install --extra-index-url https://pip.sh-edraft.de cpl-cli cpl i - name: Build docker bot @@ -74,11 +76,14 @@ jobs: token: ${{ secrets.CI_ACCESS_TOKEN }} submodules: true + - name: Install cpl + run: python3.10 -m pip install --extra-index-url https://pip.sh-edraft.de cpl-cli + - name: Set version run: | cd bot/docker chmod +x ./set-docker-compose-image-version.sh - ./set-docker-compose-image-version.sh sh-edraft.de/sdb-bot:$(cd ../; cpl gv)-dev sh-edraft.de/sdb-web:$(cd ../../web; npm run -s gv;)-dev + ./set-docker-compose-image-version.sh git.sh-edraft.de/sh-edraft.de/sdb-bot:$(cd ../; cpl gv)-dev git.sh-edraft.de/sh-edraft.de/sdb-web:$(cd ../../web; npm run -s gv;)-dev - name: Setup node uses: https://github.com/actions/setup-node@v3 diff --git a/.gitea/workflows/deploy_prod.yaml b/.gitea/workflows/deploy_prod.yaml index 9e220db2..c900a7d4 100644 --- a/.gitea/workflows/deploy_prod.yaml +++ b/.gitea/workflows/deploy_prod.yaml @@ -28,16 +28,18 @@ jobs: token: ${{ secrets.CI_ACCESS_TOKEN }} submodules: true + - name: Install cpl + run: python3.10 -m pip install --extra-index-url https://pip.sh-edraft.de cpl-cli + - name: Set version run: | cd bot/docker chmod +x ./set-docker-compose-image-version.sh - ./set-docker-compose-image-version.sh sh-edraft.de/sdb-bot:$(cd ../; cpl gv) sh-edraft.de/sdb-web:$(cd ../../web; npm run -s gv;) + ./set-docker-compose-image-version.sh git.sh-edraft.de/sh-edraft.de/sdb-bot:$(cd ../; cpl gv) git.sh-edraft.de/sh-edraft.de/sdb-web:$(cd ../../web; npm run -s gv;) - name: Prepare bot build run: | cd bot - python3.10 -m pip install --extra-index-url https://pip.sh-edraft.de cpl-cli cpl i - name: Build docker bot @@ -74,11 +76,14 @@ jobs: token: ${{ secrets.CI_ACCESS_TOKEN }} submodules: true + - name: Install cpl + run: python3.10 -m pip install --extra-index-url https://pip.sh-edraft.de cpl-cli + - name: Set version run: | cd bot/docker chmod +x ./set-docker-compose-image-version.sh - ./set-docker-compose-image-version.sh sh-edraft.de/sdb-bot:$(cd ../; cpl gv) sh-edraft.de/sdb-web:$(cd ../../web; npm run -s gv;) + ./set-docker-compose-image-version.sh git.sh-edraft.de/sh-edraft.de/sdb-bot:$(cd ../; cpl gv) git.sh-edraft.de/sh-edraft.de/sdb-web:$(cd ../../web; npm run -s gv;) - name: Setup node uses: https://github.com/actions/setup-node@v3 diff --git a/.gitea/workflows/deploy_staging.yaml b/.gitea/workflows/deploy_staging.yaml index b2f972d5..4a01b239 100644 --- a/.gitea/workflows/deploy_staging.yaml +++ b/.gitea/workflows/deploy_staging.yaml @@ -28,16 +28,18 @@ jobs: token: ${{ secrets.CI_ACCESS_TOKEN }} submodules: true + - name: Install cpl + run: python3.10 -m pip install --extra-index-url https://pip.sh-edraft.de cpl-cli + - name: Set version run: | cd bot/docker chmod +x ./set-docker-compose-image-version.sh - ./set-docker-compose-image-version.sh sh-edraft.de/sdb-bot:$(cd ../; cpl gv)-staging sh-edraft.de/sdb-web:$(cd ../../web; npm run -s gv;)-staging + ./set-docker-compose-image-version.sh git.sh-edraft.de/sh-edraft.de/sdb-bot:$(cd ../; cpl gv)-staging git.sh-edraft.de/sh-edraft.de/sdb-web:$(cd ../../web; npm run -s gv;)-staging - name: Prepare bot build run: | cd bot - python3.10 -m pip install --extra-index-url https://pip.sh-edraft.de cpl-cli cpl i - name: Build docker bot @@ -74,11 +76,14 @@ jobs: token: ${{ secrets.CI_ACCESS_TOKEN }} submodules: true + - name: Install cpl + run: python3.10 -m pip install --extra-index-url https://pip.sh-edraft.de cpl-cli + - name: Set version run: | cd bot/docker chmod +x ./set-docker-compose-image-version.sh - ./set-docker-compose-image-version.sh sh-edraft.de/sdb-bot:$(cd ../; cpl gv)-staging sh-edraft.de/sdb-web:$(cd ../../web; npm run -s gv;)-staging + ./set-docker-compose-image-version.sh git.sh-edraft.de/sh-edraft.de/sdb-bot:$(cd ../; cpl gv)-staging git.sh-edraft.de/sh-edraft.de/sdb-web:$(cd ../../web; npm run -s gv;)-staging - name: Setup node uses: https://github.com/actions/setup-node@v3