Skip to content

Commit

Permalink
fix(ci): pin docker image server branch
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
  • Loading branch information
andrey18106 committed Sep 27, 2024
1 parent 80080be commit 5077e2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
- name: Create container
run: |
docker network create master_bridge
docker run --net master_bridge --name nextcloud --rm -d -v /var/run/docker.sock:/var/run/docker.sock ${{ env.docker-image }}
docker run --net master_bridge --name nextcloud --rm -d -v /var/run/docker.sock:/var/run/docker.sock -e SERVER_BRANCH=stable30 ${{ env.docker-image }}
sudo chmod 766 /var/run/docker.sock
sleep 120s
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
-e NC_HAPROXY_PASSWORD="some_secure_password" \
--net master_bridge --name nextcloud-appapi-dsp -h nextcloud-appapi-dsp \
--privileged -d ghcr.io/cloud-py-api/nextcloud-appapi-dsp:latest
docker run --net master_bridge --name nextcloud --rm -d ${{ env.docker-image }}
docker run --net master_bridge --name nextcloud --rm -d -e SERVER_BRANCH=stable30 ${{ env.docker-image }}
sleep 60s
- name: Install AppAPI
Expand Down Expand Up @@ -318,7 +318,7 @@ jobs:
-e EX_APPS_NET="ipv4@localhost" \
--net host --name nextcloud-appapi-dsp -h nextcloud-appapi-dsp \
--privileged -d ghcr.io/cloud-py-api/nextcloud-appapi-dsp:latest
docker run --net=bridge --name=nextcloud -p 8080:80 --rm -d ${{ env.docker-image }}
docker run --net=bridge --name=nextcloud -p 8080:80 -e SERVER_BRANCH=stable30 --rm -d ${{ env.docker-image }}
sleep 60s
hostname -I
docker exec nextcloud-appapi-dsp ip addr show | grep inet | awk '{print $2}' | cut -d/ -f1
Expand Down

0 comments on commit 5077e2e

Please sign in to comment.