Fix some grammar issues #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Move some images from Docker Hub to Quay.io | |
env: | |
OWNER: ${{ github.repository_owner }} | |
PUSH_TO_REGISTRY: ${{ (github.repository_owner == 'jupyter' || github.repository_owner == 'mathbunnyru') && (github.ref == 'refs/heads/main') }} | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/registry-move.yml" | |
push: | |
branches: | |
- main | |
paths: | |
- ".github/workflows/registry-move.yml" | |
workflow_dispatch: | |
jobs: | |
update-overview: | |
# To be able to use the latest skopeo | |
runs-on: macos-latest | |
if: github.repository_owner == 'jupyter' || github.repository_owner == 'mathbunnyru' | |
steps: | |
- name: Checkout Repo ⚡️ | |
uses: actions/checkout@v4 | |
- name: Install skopeo and Docker 📦 | |
run: | | |
brew install skopeo | |
brew install --cask docker | |
- name: Login to Quay.io 🔐 | |
if: env.PUSH_TO_REGISTRY == 'true' | |
run: skopeo login quay.io --username ${{ secrets.QUAY_USERNAME }} --password ${{ secrets.QUAY_ROBOT_TOKEN }} | |
- name: Move image from Docker Hub to Quay.io 🐳 | |
if: env.PUSH_TO_REGISTRY == 'true' | |
run: | | |
skopeo copy --multi-arch all docker://${{ env.OWNER }}/${{ matrix.image }}:${{ matrix.tag }} docker://quay.io/${{ env.OWNER }}/${{ matrix.image }}:${{ matrix.tag }} | |
strategy: | |
fail-fast: false | |
matrix: | |
image: | |
[ | |
docker-stacks-foundation, | |
base-notebook, | |
minimal-notebook, | |
scipy-notebook, | |
r-notebook, | |
julia-notebook, | |
tensorflow-notebook, | |
datascience-notebook, | |
pyspark-notebook, | |
all-spark-notebook, | |
] | |
tag: [missing-tag-expected-to-fail] |