mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-15 14:02:58 +00:00
Update actions/download-artifact and actions/upload-artifact to v4 (#2061)
This commit is contained in:
88
.github/actions/download-manifests/action.yml
vendored
88
.github/actions/download-manifests/action.yml
vendored
@@ -20,258 +20,258 @@ runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: docker-stacks-foundation-aarch64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: docker-stacks-foundation-x86_64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: base-notebook-aarch64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: base-notebook-x86_64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: minimal-notebook-aarch64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: minimal-notebook-x86_64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: scipy-notebook-aarch64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: scipy-notebook-x86_64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: r-notebook-aarch64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: r-notebook-x86_64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: julia-notebook-aarch64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: julia-notebook-x86_64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: tensorflow-notebook-aarch64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: tensorflow-notebook-x86_64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: pytorch-notebook-aarch64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: pytorch-notebook-x86_64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: datascience-notebook-aarch64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: datascience-notebook-x86_64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: pyspark-notebook-aarch64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: pyspark-notebook-x86_64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: all-spark-notebook-aarch64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: all-spark-notebook-x86_64-history_line
|
||||
path: ${{ inputs.hist-lines-dir }}
|
||||
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: docker-stacks-foundation-aarch64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: docker-stacks-foundation-x86_64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: base-notebook-aarch64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: base-notebook-x86_64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: minimal-notebook-aarch64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: minimal-notebook-x86_64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: scipy-notebook-aarch64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: scipy-notebook-x86_64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: r-notebook-aarch64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: r-notebook-x86_64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: julia-notebook-aarch64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: julia-notebook-x86_64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: tensorflow-notebook-aarch64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: tensorflow-notebook-x86_64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: pytorch-notebook-aarch64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: pytorch-notebook-x86_64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: datascience-notebook-aarch64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: datascience-notebook-x86_64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: pyspark-notebook-aarch64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: pyspark-notebook-x86_64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: all-spark-notebook-aarch64-manifest
|
||||
path: ${{ inputs.manifests-dir }}
|
||||
- name: Download artifact 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
if: inputs.fast-build == 'false'
|
||||
with:
|
||||
name: all-spark-notebook-x86_64-manifest
|
||||
|
2
.github/actions/load-image/action.yml
vendored
2
.github/actions/load-image/action.yml
vendored
@@ -13,7 +13,7 @@ runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Download built image 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: ${{ inputs.image }}-${{ inputs.platform }}
|
||||
path: /tmp/jupyter/images/
|
||||
|
@@ -75,7 +75,7 @@ jobs:
|
||||
python3 -m tagging.write_tags_file --short-image-name ${{ inputs.image }} --tags-dir /tmp/jupyter/tags/ --registry ${{ env.REGISTRY }} --owner ${{ env.OWNER }}
|
||||
shell: bash
|
||||
- name: Upload tags file 💾
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ inputs.image }}-${{ inputs.platform }}-tags
|
||||
path: /tmp/jupyter/tags/${{ inputs.platform }}-${{ inputs.image }}.txt
|
||||
@@ -85,13 +85,13 @@ jobs:
|
||||
run: python3 -m tagging.write_manifest --short-image-name ${{ inputs.image }} --hist-lines-dir /tmp/jupyter/hist_lines/ --manifests-dir /tmp/jupyter/manifests/ --registry ${{ env.REGISTRY }} --owner ${{ env.OWNER }}
|
||||
shell: bash
|
||||
- name: Upload manifest file 💾
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ inputs.image }}-${{ inputs.platform }}-manifest
|
||||
path: /tmp/jupyter/manifests/${{ inputs.platform }}-${{ inputs.image }}-*.md
|
||||
retention-days: 3
|
||||
- name: Upload build history line 💾
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ inputs.image }}-${{ inputs.platform }}-history_line
|
||||
path: /tmp/jupyter/hist_lines/${{ inputs.platform }}-${{ inputs.image }}-*.txt
|
||||
@@ -103,7 +103,7 @@ jobs:
|
||||
docker save ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ inputs.image }} | zstd > /tmp/jupyter/images/${{ inputs.image }}-${{ inputs.platform }}.tar.zst
|
||||
shell: bash
|
||||
- name: Upload image as artifact 💾
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ inputs.image }}-${{ inputs.platform }}
|
||||
path: /tmp/jupyter/images/${{ inputs.image }}-${{ inputs.platform }}.tar.zst
|
||||
|
4
.github/workflows/docker-merge-tags.yml
vendored
4
.github/workflows/docker-merge-tags.yml
vendored
@@ -28,12 +28,12 @@ jobs:
|
||||
uses: ./.github/actions/create-dev-env
|
||||
|
||||
- name: Download x86_64 tags file 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: ${{ inputs.image }}-x86_64-tags
|
||||
path: /tmp/jupyter/tags/
|
||||
- name: Download aarch64 tags file 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: ${{ inputs.image }}-aarch64-tags
|
||||
path: /tmp/jupyter/tags/
|
||||
|
2
.github/workflows/docker-tag-push.yml
vendored
2
.github/workflows/docker-tag-push.yml
vendored
@@ -46,7 +46,7 @@ jobs:
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Download tags file 📥
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: ${{ inputs.image }}-${{ inputs.platform }}-tags
|
||||
path: /tmp/jupyter/tags/
|
||||
|
Reference in New Issue
Block a user