This action lets save an already-downloaded Alpine image to a tar archive.
load-or-save
(required) 'load'
or 'save'
, depending on whether you want to load a Docker image from a tar archive or save an existing Docker image to a new tar archive.digest
(required): A Docker image digest. Find this by runningdocker image ls --digestsExample:
sha256:08d6ca16c60fe7490c03d10dc339d9fd8ea67c6466dea8d558526b1330a85930
exit-code
load-or-save
was given, ordigest
input was givenLoad an Alpine Docker image:
- run: .github/actions/save-alpine-tar/entrypoint.sh load sha256:08d6ca16c60fe7490c03d10dc339d9fd8ea67c6466dea8d558526b1330a85930
Save an Alpine Docker image:
- run: .github/actions/save-alpine-tar/entrypoint.sh save sha256:08d6ca16c60fe7490c03d10dc339d9fd8ea67c6466dea8d558526b1330a85930