fix: mount README.md to / not /data for docker-pushrm
Build and Deploy / build-and-release (release) Failing after 3m0s

The docker-pushrm image (busybox-based) has no WORKDIR set, defaulting
to /. FindReadmeFile() searches ./ relative to WORKDIR, so the file
must be at /README.md, not /data/ or /workspace/.
This commit is contained in:
2026-06-08 14:46:19 +08:00
parent 3f2066f8b2
commit 0269683b68
+1 -1
View File
@@ -78,7 +78,7 @@ jobs:
- name: Push README to Docker Hub
run: >
docker run --rm
-v "$(pwd)/README.md:/data/README.md:ro"
-v "$(pwd)/README.md:/README.md:ro"
-e DOCKER_USER="${{ vars.DOCKER_HUB_USERNAME }}"
-e DOCKER_PASS="${{ secrets.DOCKER_HUB_TOKEN }}"
chko/docker-pushrm:latest