diff --git a/.github/workflows/admin-scw.yml b/.github/workflows/admin-scw.yml index 893292aea7..15ab1e87d2 100644 --- a/.github/workflows/admin-scw.yml +++ b/.github/workflows/admin-scw.yml @@ -1,12 +1,17 @@ name: ADMIN - Build Docker image & Deploy Scaleway +# on: +# push: +# branches: +# - main +# paths: +# - admin/** +# - packages/** + on: push: branches: - - main - paths: - - admin/** - - packages/** + - feat-1469 jobs: lint: @@ -55,13 +60,14 @@ jobs: with: username: nologin password: ${{ secrets.SCW_SECRET_KEY }} - registry: ${{ secrets.SCW_CONTAINER_REGISTRY_ENDPOINT }} + # registry: ${{ secrets.SCW_CONTAINER_REGISTRY_ENDPOINT }} + registry: rg.fr-par.scw.cloud/funcscwsnutestvfku19oc image_name: admin dockerfile_path: admin/Dockerfile - - name: Scaleway container deploy - if: env.ACTIVE_HOSTING == 'scaleway' - uses: ./.github/actions/docker-scw-deploy - with: - secret_key: ${{ secrets.SCW_SECRET_KEY }} - container_id: ${{ secrets.SCW_ADMIN_CONTAINER_ID }} + # - name: Scaleway container deploy + # if: env.ACTIVE_HOSTING == 'scaleway' + # uses: ./.github/actions/docker-scw-deploy + # with: + # secret_key: ${{ secrets.SCW_SECRET_KEY }} + # container_id: ${{ secrets.SCW_ADMIN_CONTAINER_ID }} diff --git a/.github/workflows/api-scw.yml b/.github/workflows/api-scw.yml index e3eadb527f..8fea38f162 100644 --- a/.github/workflows/api-scw.yml +++ b/.github/workflows/api-scw.yml @@ -1,12 +1,17 @@ name: API - Build Docker image & Deploy Scaleway +# on: +# push: +# branches: +# - main +# paths: +# - api/** +# - packages/** + on: push: branches: - - main - paths: - - api/** - - packages/** + - feat-1469 jobs: build_deploy: @@ -32,13 +37,14 @@ jobs: with: username: nologin password: ${{ secrets.SCW_SECRET_KEY }} - registry: ${{ secrets.SCW_CONTAINER_REGISTRY_ENDPOINT }} + # registry: ${{ secrets.SCW_CONTAINER_REGISTRY_ENDPOINT }} + registry: rg.fr-par.scw.cloud/funcscwsnutestvfku19oc image_name: api dockerfile_path: api/Dockerfile - - name: Scaleway container deploy - if: env.ACTIVE_HOSTING == 'scaleway' - uses: ./.github/actions/docker-scw-deploy - with: - secret_key: ${{ secrets.SCW_SECRET_KEY }} - container_id: ${{ secrets.SCW_API_CONTAINER_ID }} + # - name: Scaleway container deploy + # if: env.ACTIVE_HOSTING == 'scaleway' + # uses: ./.github/actions/docker-scw-deploy + # with: + # secret_key: ${{ secrets.SCW_SECRET_KEY }} + # container_id: ${{ secrets.SCW_API_CONTAINER_ID }} diff --git a/.github/workflows/app-scw.yml b/.github/workflows/app-scw.yml index 1c76be23a3..85f1474705 100644 --- a/.github/workflows/app-scw.yml +++ b/.github/workflows/app-scw.yml @@ -1,12 +1,17 @@ name: APP - Build Docker image & Deploy Scaleway +# on: +# push: +# branches: +# - main +# paths: +# - app/** +# - packages/** + on: push: branches: - - main - paths: - - app/** - - packages/** + - feat-1469 jobs: lint: @@ -55,13 +60,14 @@ jobs: with: username: nologin password: ${{ secrets.SCW_SECRET_KEY }} - registry: ${{ secrets.SCW_CONTAINER_REGISTRY_ENDPOINT }} + # registry: ${{ secrets.SCW_CONTAINER_REGISTRY_ENDPOINT }} + registry: rg.fr-par.scw.cloud/funcscwsnutestvfku19oc image_name: app dockerfile_path: app/Dockerfile - - name: Scaleway container deploy - if: env.ACTIVE_HOSTING == 'scaleway' - uses: ./.github/actions/docker-scw-deploy - with: - secret_key: ${{ secrets.SCW_SECRET_KEY }} - container_id: ${{ secrets.SCW_APP_CONTAINER_ID }} + # - name: Scaleway container deploy + # if: env.ACTIVE_HOSTING == 'scaleway' + # uses: ./.github/actions/docker-scw-deploy + # with: + # secret_key: ${{ secrets.SCW_SECRET_KEY }} + # container_id: ${{ secrets.SCW_APP_CONTAINER_ID }}