From bbb1594609ddae60d1afbc5b88cbdad49d4051d7 Mon Sep 17 00:00:00 2001 From: ahgraber Date: Sat, 18 Mar 2023 12:07:04 -0400 Subject: [PATCH] disable docker integrations --- .github/workflows/1-build-stack.yaml | 10 ++--- .github/workflows/2-image-dependencies.yaml | 26 ++++++------ .github/workflows/3-build-test-tag.yaml | 46 ++++++++++----------- .github/workflows/hub-overview.yaml | 20 ++++----- 4 files changed, 51 insertions(+), 51 deletions(-) diff --git a/.github/workflows/1-build-stack.yaml b/.github/workflows/1-build-stack.yaml index 6467919..cbb22e1 100644 --- a/.github/workflows/1-build-stack.yaml +++ b/.github/workflows/1-build-stack.yaml @@ -45,7 +45,7 @@ concurrency: env: # define 'static' vars here platforms: "linux/amd64,linux/arm64" gh_registry: ghcr.io/ninerealmlabs - d_registry: docker.io/ninerealmlabs + # d_registry: docker.io/ninerealmlabs owner: ninerealmlabs jobs: @@ -57,7 +57,7 @@ jobs: outputs: platforms: ${{ env.platforms }} gh_registry: ${{ env.gh_registry }} - d_registry: ${{ env.d_registry }} + # d_registry: ${{ env.d_registry }} owner: ${{ env.owner }} steps: - run: echo "Exposing env vars to downstream jobs 📬" @@ -71,7 +71,7 @@ jobs: python_version: 3.8.* platforms: ${{ needs.export-envs.outputs.platforms }} gh_registry: ${{ needs.export-envs.outputs.gh_registry }} - d_registry: ${{ needs.export-envs.outputs.d_registry }} + # d_registry: ${{ needs.export-envs.outputs.d_registry }} owner: ${{ needs.export-envs.outputs.owner }} secrets: inherit @@ -83,7 +83,7 @@ jobs: python_version: 3.9.* platforms: ${{ needs.export-envs.outputs.platforms }} gh_registry: ${{ needs.export-envs.outputs.gh_registry }} - d_registry: ${{ needs.export-envs.outputs.d_registry }} + # d_registry: ${{ needs.export-envs.outputs.d_registry }} owner: ${{ needs.export-envs.outputs.owner }} secrets: inherit @@ -94,7 +94,7 @@ jobs: python_version: 3.10.* platforms: ${{ needs.export-envs.outputs.platforms }} gh_registry: ${{ needs.export-envs.outputs.gh_registry }} - d_registry: ${{ needs.export-envs.outputs.d_registry }} + # d_registry: ${{ needs.export-envs.outputs.d_registry }} owner: ${{ needs.export-envs.outputs.owner }} secrets: inherit diff --git a/.github/workflows/2-image-dependencies.yaml b/.github/workflows/2-image-dependencies.yaml index c2dfbcc..77813ab 100644 --- a/.github/workflows/2-image-dependencies.yaml +++ b/.github/workflows/2-image-dependencies.yaml @@ -19,10 +19,10 @@ on: # yamllint disable-line rule:truthy description: Github registry (ghcr.io/) required: true type: string - d_registry: - description: Docker registry (docker.io/) - required: true - type: string + # d_registry: + # description: Docker registry (docker.io/) + # required: true + # type: string owner: description: Registry name required: true @@ -41,10 +41,10 @@ on: # yamllint disable-line rule:truthy description: Github registry (ghcr.io/) required: true type: string - d_registry: - description: Docker registry (docker.io/) - required: true - type: string + # d_registry: + # description: Docker registry (docker.io/) + # required: true + # type: string owner: description: Registry name required: true @@ -64,7 +64,7 @@ jobs: python_version: ${{ inputs.python_version }} platforms: ${{ inputs.platforms }} gh_registry: ${{ inputs.gh_registry }} - d_registry: ${{ inputs.d_registry }} + # d_registry: ${{ inputs.d_registry }} owner: ${{ inputs.owner }} secrets: inherit @@ -80,7 +80,7 @@ jobs: python_version: ${{ inputs.python_version }} platforms: ${{ inputs.platforms }} gh_registry: ${{ inputs.gh_registry }} - d_registry: ${{ inputs.d_registry }} + # d_registry: ${{ inputs.d_registry }} owner: ${{ inputs.owner }} secrets: inherit @@ -96,7 +96,7 @@ jobs: python_version: ${{ inputs.python_version }} platforms: ${{ inputs.platforms }} gh_registry: ${{ inputs.gh_registry }} - d_registry: ${{ inputs.d_registry }} + # d_registry: ${{ inputs.d_registry }} owner: ${{ inputs.owner }} secrets: inherit @@ -112,7 +112,7 @@ jobs: python_version: ${{ inputs.python_version }} platforms: ${{ inputs.platforms }} gh_registry: ${{ inputs.gh_registry }} - d_registry: ${{ inputs.d_registry }} + # d_registry: ${{ inputs.d_registry }} owner: ${{ inputs.owner }} secrets: inherit @@ -128,7 +128,7 @@ jobs: python_version: ${{ inputs.python_version }} platforms: ${{ inputs.platforms }} gh_registry: ${{ inputs.gh_registry }} - d_registry: ${{ inputs.d_registry }} + # d_registry: ${{ inputs.d_registry }} owner: ${{ inputs.owner }} secrets: inherit # yamllint enable diff --git a/.github/workflows/3-build-test-tag.yaml b/.github/workflows/3-build-test-tag.yaml index c622e15..7d93bdc 100644 --- a/.github/workflows/3-build-test-tag.yaml +++ b/.github/workflows/3-build-test-tag.yaml @@ -39,10 +39,10 @@ on: # yamllint disable-line rule:truthy description: Github registry (ghcr.io/) required: true type: string - d_registry: - description: Docker registry (docker.io/) - required: true - type: string + # d_registry: + # description: Docker registry (docker.io/) + # required: true + # type: string owner: description: Registry name required: true @@ -89,10 +89,10 @@ on: # yamllint disable-line rule:truthy description: Github registry (ghcr.io/) required: true type: string - d_registry: - description: Docker registry (docker.io/) - required: true - type: string + # d_registry: + # description: Docker registry (docker.io/) + # required: true + # type: string owner: description: Registry name required: true @@ -175,19 +175,19 @@ jobs: # image_name: ${{ inputs.image_name }} # image_digest: ${{ steps.build.outputs.digest }} - ### push to registry on main branch only - - name: Login to DockerHub ✅ - if: github.ref_name == 'main' - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKER_USER }} - password: ${{ secrets.DOCKER_TOKEN }} + # ### push to registry on main branch only + # - name: Login to DockerHub ✅ + # if: github.ref_name == 'main' + # uses: docker/login-action@v2 + # with: + # username: ${{ secrets.DOCKER_USER }} + # password: ${{ secrets.DOCKER_TOKEN }} - - if: github.ref_name == 'main' - name: Tag & Push image to docker 🏷 - uses: akhilerm/tag-push-action@v2.1.0 - with: - src: ${{ inputs.gh_registry }}/${{ inputs.image_name }}@${{ steps.build.outputs.image_digest }} - dst: | - ${{ inputs.d_registry }}/${{ inputs.image_name }}:${{ steps.build.outputs.python_tag }} - ${{ inputs.d_registry }}/${{ inputs.image_name }}:${{ steps.build.outputs.python_tag }}-${{ steps.build.outputs.git_tag }} + # - if: github.ref_name == 'main' + # name: Tag & Push image to docker 🏷 + # uses: akhilerm/tag-push-action@v2.1.0 + # with: + # src: ${{ inputs.gh_registry }}/${{ inputs.image_name }}@${{ steps.build.outputs.image_digest }} + # dst: | + # ${{ inputs.d_registry }}/${{ inputs.image_name }}:${{ steps.build.outputs.python_tag }} + # ${{ inputs.d_registry }}/${{ inputs.image_name }}:${{ steps.build.outputs.python_tag }}-${{ steps.build.outputs.git_tag }} diff --git a/.github/workflows/hub-overview.yaml b/.github/workflows/hub-overview.yaml index ffeb6e3..56ccbc9 100644 --- a/.github/workflows/hub-overview.yaml +++ b/.github/workflows/hub-overview.yaml @@ -2,17 +2,17 @@ name: Update dockerhub overviews on: # yamllint disable-line rule:truthy - push: - branches: - - main - paths: - - ".github/workflows/hub-overview.yaml" + # push: + # branches: + # - main + # paths: + # - ".github/workflows/hub-overview.yaml" - - "src/base-env/README.md" - - "src/ds-env/README.md" - - "src/nlp-env/README.md" - - "src/ts-env/README.md" - - "src/web-env/README.md" + # - "src/base-env/README.md" + # - "src/ds-env/README.md" + # - "src/nlp-env/README.md" + # - "src/ts-env/README.md" + # - "src/web-env/README.md" workflow_dispatch: env: