浏览代码

Fix image name of docs export.

Dan Helfman 7 月之前
父节点
当前提交
48f008d720
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .gitea/workflows/build.yaml

+ 1 - 1
.gitea/workflows/build.yaml

@@ -27,6 +27,6 @@ jobs:
       - run: podman build --tag "$IMAGE_NAME" --file docs/Dockerfile --storage-opt "overlay.mount_program=/usr/bin/fuse-overlayfs" .
       - run: podman build --tag "$IMAGE_NAME" --file docs/Dockerfile --storage-opt "overlay.mount_program=/usr/bin/fuse-overlayfs" .
       - run: podman push "$IMAGE_NAME"
       - run: podman push "$IMAGE_NAME"
       - run: mkdir borgmatic-docs
       - run: mkdir borgmatic-docs
-      - run: podman export borgmatic-docs | tar xf - --strip-components 4 --directory borgmatic-docs usr/share/nginx/html 
+      - run: podman export "$IMAGE_NAME" | tar xf - --strip-components 4 --directory borgmatic-docs usr/share/nginx/html 
       - run: tar cfz borgmatic-docs.tar.gz borgmatic-docs
       - run: tar cfz borgmatic-docs.tar.gz borgmatic-docs
       - run: curl --user "${{ secrets.REGISTRY_USERNAME }}:${{ secrets.REGISTRY_PASSWORD }}" --upload-file borgmatic-docs.tar.gz https://projects.torsion.org/api/packages/borgmatic-collective/generic/borgmatic-docs/$(head --lines=1 NEWS)/borgmatic-docs.tar.gz
       - run: curl --user "${{ secrets.REGISTRY_USERNAME }}:${{ secrets.REGISTRY_PASSWORD }}" --upload-file borgmatic-docs.tar.gz https://projects.torsion.org/api/packages/borgmatic-collective/generic/borgmatic-docs/$(head --lines=1 NEWS)/borgmatic-docs.tar.gz