Skip to content

Commit

Permalink
Devops: Bump upload-artifact action to v4 for Docker workflow (aiid…
Browse files Browse the repository at this point in the history
…ateam#6228)

Should provide significant performance improvement, see
https://github.com/actions/upload-artifact#v4---whats-new
  • Loading branch information
unkcpz authored Dec 19, 2023
1 parent 5015f5f commit bfdb282
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/actions/load-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
using: composite
steps:
- name: Download built image 📥
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ inputs.image }}-${{ inputs.architecture }}
path: /tmp/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-build-test-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ jobs:
docker save ${{ env.OWNER }}/aiida-core-with-services -o /tmp/aiida-core/aiida-core-with-services-${{ inputs.architecture }}.tar
- name: Upload aiida-core-base image as artifact 💾
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: aiida-core-base-${{ inputs.architecture }}
path: /tmp/aiida-core/aiida-core-base-${{ inputs.architecture }}.tar
retention-days: 3

- name: Upload aiida-core-with-services image as artifact 💾
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: aiida-core-with-services-${{ inputs.architecture }}
path: /tmp/aiida-core/aiida-core-with-services-${{ inputs.architecture }}.tar
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-merge-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:
architecture: amd64

- name: Download amd64 tags file 📥
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ inputs.registry }}-${{ matrix.image }}-amd64-tags
path: /tmp/aiida-core
- name: Download arm64 tags file 📥
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ inputs.registry }}-${{ matrix.image }}-arm64-tags
path: /tmp/aiida-core
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
done
- name: Upload tags file 📤
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.registry }}-${{ matrix.image }}-${{ inputs.architecture }}-tags
path: /tmp/aiida-core/${{ matrix.image }}-${{ inputs.architecture }}-tags.txt
Expand Down

0 comments on commit bfdb282

Please sign in to comment.