mirror of
https://github.com/lukechilds/dockerpi.git
synced 2026-01-23 10:16:42 +00:00
Strip colon from image name before uploading as artifact
This commit is contained in:
parent
43f88031af
commit
e5ecf4cf75
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
mkdir -p images
|
||||
images=$(docker images lukechilds/dockerpi --format "{{.Repository}}:{{.Tag}}")
|
||||
for image in $images; do
|
||||
docker save $image | gzip > "images/$(echo $image | tr '/' '-').tgz"
|
||||
docker save $image | gzip > "images/$(echo $image | tr '/' '-' | tr ':' '-').tgz"
|
||||
done
|
||||
- name: Print sha256sum of built image
|
||||
run: sha256sum images/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue