diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index c087311..d87e947 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -15,6 +15,8 @@ jobs: backend-tests: name: Backend Tests runs-on: ubuntu-latest + container: + network: gitea_gitea env: SECRET_KEY: test-secret-key-for-ci-environment-32chars-minimum @@ -22,7 +24,7 @@ jobs: - name: Checkout repository run: | if [ ! -d .git ]; then - git clone --depth=1 "http://192.168.31.221:3300/${GITHUB_REPOSITORY}.git" . + git clone --depth=1 "http://gitea:3000/${GITHUB_REPOSITORY}.git" . fi - name: Setup Python @@ -103,12 +105,14 @@ jobs: frontend-tests: name: Frontend Tests runs-on: ubuntu-latest + container: + network: gitea_gitea steps: - name: Checkout repository run: | if [ ! -d .git ]; then - git clone --depth=1 "http://192.168.31.221:3300/${GITHUB_REPOSITORY}.git" . + git clone --depth=1 "http://gitea:3000/${GITHUB_REPOSITORY}.git" . fi - name: Setup Node.js @@ -186,7 +190,7 @@ jobs: - name: Checkout repository run: | if [ ! -d .git ]; then - git clone --depth=1 "http://192.168.31.221:3300/${GITHUB_REPOSITORY}.git" . + git clone --depth=1 "http://gitea:3000/${GITHUB_REPOSITORY}.git" . fi - name: Warm mirror cache for base images