Fix podman create command to use correct image name.
Some checks failed
build / test (push) Successful in 4m48s
build / docs (push) Failing after 1m11s

This commit is contained in:
Dan Helfman 2024-10-27 14:33:58 -07:00
parent 269c00b240
commit e1f60e4b09

View File

@ -27,7 +27,7 @@ jobs:
- run: podman build --tag "$IMAGE_NAME" --file docs/Dockerfile --storage-opt "overlay.mount_program=/usr/bin/fuse-overlayfs" .
- run: podman push "$IMAGE_NAME"
- run: mkdir borgmatic-docs
- run: docs_container_id=$(podman create borgmatic-docs)
- run: docs_container_id=$(podman create "$IMAGE_NAME")
- run: podman cp $docs_container_id:/usr/share/nginx/html - > borgmatic-docs-dump.tar
- run: tar xf borgmatic-docs-dump.tar
- run: mv html borgmatic-docs