Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
RenJiangZhou2163 committed Dec 26, 2024
1 parent 1af2712 commit 421f571
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/keep2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@ jobs:
uses: actions/checkout@v4

- name: Pull and Save Docker images
run: |
IMAGE_NAME=$(echo "${{ matrix.image }}" | sed 's|/|_|g')
echo "IMAGE_NAME=${IMAGE_NAME}" >> $GITHUB_ENV
docker pull ${{ matrix.image }}:${{ matrix.tag }}
docker save -o ${IMAGE_NAME}_${{ matrix.tag }}.tar.gz ${{ matrix.image }}:${{ matrix.tag }}
- name: Upload Image Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ env.IMAGE_NAME }}_${{ matrix.tag }}
path: ${IMAGE_NAME}_${{ matrix.tag }}.tar.gz
run: |
IMAGE_NAME=$(echo "${{ matrix.image }}" | sed 's|/|_|g')
docker pull ${{ matrix.image }}:${{ matrix.tag }}
Expand Down

0 comments on commit 421f571

Please sign in to comment.