From ad85d8106c47b7d3d5e35b832b33fbd67e5e349f Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Thu, 19 Oct 2023 22:01:47 +0200 Subject: [PATCH] Use word registry in workflows where possible --- .github/workflows/docker-tag-push.yml | 2 +- .github/workflows/hub-overview.yml | 59 --------------------------- 2 files changed, 1 insertion(+), 60 deletions(-) delete mode 100644 .github/workflows/hub-overview.yml diff --git a/.github/workflows/docker-tag-push.yml b/.github/workflows/docker-tag-push.yml index 634746f6..dd209cc5 100644 --- a/.github/workflows/docker-tag-push.yml +++ b/.github/workflows/docker-tag-push.yml @@ -1,4 +1,4 @@ -name: Download Docker image and its tags from GitHub artifacts, apply them and push the image to Docker Hub +name: Download Docker image and its tags from GitHub artifacts, apply them and push the image to the Registry env: REGISTRY: docker.io diff --git a/.github/workflows/hub-overview.yml b/.github/workflows/hub-overview.yml deleted file mode 100644 index 9f37eae5..00000000 --- a/.github/workflows/hub-overview.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: Update Docker Hub overviews - -env: - OWNER: ${{ github.repository_owner }} - -on: - push: - branches: - - main - paths: - - ".github/workflows/hub-overview.yml" - - - "images/*/README.md" - workflow_dispatch: - -jobs: - update-overview: - runs-on: ubuntu-latest - name: update-overview (${{matrix.image}}) - if: github.repository == 'jupyter/docker-stacks' - - steps: - - name: Checkout Repo ⚡️ - uses: actions/checkout@v4 - - - name: Push README to Docker Hub 🐳 - uses: christian-korneck/update-container-description-action@d36005551adeaba9698d8d67a296bd16fa91f8e8 # v1 - env: - DOCKER_USER: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKER_PASS: ${{ secrets.DOCKERHUB_TOKEN }} - with: - destination_container_repo: ${{ env.OWNER }}/${{ matrix.image }} - provider: dockerhub - short_description: ${{ matrix.description }} - readme_file: images/${{ matrix.image }}/README.md - - strategy: - matrix: - include: - - image: docker-stacks-foundation - description: "Tiny base image on which Jupyter apps can be built from https://github.com/jupyter/docker-stacks" - - image: base-notebook - description: "Base image for Jupyter Notebook stacks from https://github.com/jupyter/docker-stacks" - - image: minimal-notebook - description: "Minimal Jupyter Notebook Python Stack from https://github.com/jupyter/docker-stacks" - - image: scipy-notebook - description: "Scientific Jupyter Notebook Python Stack from https://github.com/jupyter/docker-stacks" - - image: r-notebook - description: "R Jupyter Notebook Stack from https://github.com/jupyter/docker-stacks" - - image: julia-notebook - description: "Julia Jupyter Notebook Stack from https://github.com/jupyter/docker-stacks" - - image: tensorflow-notebook - description: "Scientific Jupyter Notebook Python Stack w/ TensorFlow from https://github.com/jupyter/docker-stacks" - - image: datascience-notebook - description: "Data Science Jupyter Notebook Python Stack from https://github.com/jupyter/docker-stacks" - - image: pyspark-notebook - description: "Python and Spark Jupyter Notebook Stack from https://github.com/jupyter/docker-stacks" - - image: all-spark-notebook - description: "Python, Scala, R and Spark Jupyter Notebook Stack from https://github.com/jupyter/docker-stacks"