Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
disable docker integrations
Browse files Browse the repository at this point in the history
  • Loading branch information
ahgraber committed Mar 18, 2023
1 parent 5d2e424 commit bbb1594
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 51 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/1-build-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 📬"
Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/2-image-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ on: # yamllint disable-line rule:truthy
description: Github registry (ghcr.io/<owner>)
required: true
type: string
d_registry:
description: Docker registry (docker.io/<owner>)
required: true
type: string
# d_registry:
# description: Docker registry (docker.io/<owner>)
# required: true
# type: string
owner:
description: Registry name
required: true
Expand All @@ -41,10 +41,10 @@ on: # yamllint disable-line rule:truthy
description: Github registry (ghcr.io/<owner>)
required: true
type: string
d_registry:
description: Docker registry (docker.io/<owner>)
required: true
type: string
# d_registry:
# description: Docker registry (docker.io/<owner>)
# required: true
# type: string
owner:
description: Registry name
required: true
Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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
46 changes: 23 additions & 23 deletions .github/workflows/3-build-test-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ on: # yamllint disable-line rule:truthy
description: Github registry (ghcr.io/<owner>)
required: true
type: string
d_registry:
description: Docker registry (docker.io/<owner>)
required: true
type: string
# d_registry:
# description: Docker registry (docker.io/<owner>)
# required: true
# type: string
owner:
description: Registry name
required: true
Expand Down Expand Up @@ -89,10 +89,10 @@ on: # yamllint disable-line rule:truthy
description: Github registry (ghcr.io/<owner>)
required: true
type: string
d_registry:
description: Docker registry (docker.io/<owner>)
required: true
type: string
# d_registry:
# description: Docker registry (docker.io/<owner>)
# required: true
# type: string
owner:
description: Registry name
required: true
Expand Down Expand Up @@ -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 }}
20 changes: 10 additions & 10 deletions .github/workflows/hub-overview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit bbb1594

Please sign in to comment.