Skip to content

Commit

Permalink
fix typo, cat image-list.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
busma13 committed Jul 8, 2024
1 parent a831715 commit 1a2c7c4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ jobs:
YARN_SETUP_ARGS: "--prod=false --silent"

- name: Create Docker Image List
run: yarn docker:listImages
run: |
yarn docker:listImages
cat ./images/image-list.txt
- name: Restore Docker image cache
id: docker-cache
Expand All @@ -77,6 +79,7 @@ jobs:
run: |
mkdir -p /tmp/docker_cache
while IFS= read -r image; do
echo "pulling image: $image"
docker pull "$image"
docker save "$image" | gzip > "/tmp/docker_cache/$(echo $image | tr '/:' '__').tar.gz"
done < ./images/image-list.txt
Expand Down Expand Up @@ -181,7 +184,9 @@ jobs:
YARN_SETUP_ARGS: "--prod=false --silent"

- name: Create Docker Image List
run: yarn docker:listImages
run: |
yarn docker:listImages
cat ./images/image-list.txt
- name: Restore Docker image cache
id: docker-cache
Expand All @@ -197,7 +202,6 @@ jobs:
# run: yarn docker:loadImagesFromCache
run: |
for tar_gz in /tmp/docker_cache/*.tar.gz; do
if
gzip -dc "$tar_gz" | docker load
done
Expand Down

0 comments on commit 1a2c7c4

Please sign in to comment.