Skip to content

Commit

Permalink
Resolve error where file not found appears when ensuring container-im…
Browse files Browse the repository at this point in the history
…ages-key.txt is reset to an empty file
  • Loading branch information
jamesmortensen committed Jan 21, 2024
1 parent 438d394 commit 3e9818a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ runs:
echo "Home = " $HOME
echo "PWD = " $PWD
echo "CONTAINER_IMAGES="$CONTAINER_IMAGES
rm container-images-key.txt && touch container-images-key.txt
# make sure this file is empty, in case action is used multiple times in the same job.
rm -f container-images-key.txt && touch container-images-key.txt
export IMAGES_URIS=`echo $CONTAINER_IMAGES | sed 's/:/\/tags\//g'`
echo "Images URIS="$IMAGES_URIS
echo $IMAGES_URIS | tr " " "\n" >> container-images-uris.txt
Expand Down

0 comments on commit 3e9818a

Please sign in to comment.