mirror of
https://github.com/lukechilds/dockerpi.git
synced 2026-01-23 02:14:37 +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
|
mkdir -p images
|
||||||
images=$(docker images lukechilds/dockerpi --format "{{.Repository}}:{{.Tag}}")
|
images=$(docker images lukechilds/dockerpi --format "{{.Repository}}:{{.Tag}}")
|
||||||
for image in $images; do
|
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
|
done
|
||||||
- name: Print sha256sum of built image
|
- name: Print sha256sum of built image
|
||||||
run: sha256sum images/*
|
run: sha256sum images/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue