fix: mount README.md to / not /data for docker-pushrm
Build and Deploy / build-and-release (release) Failing after 3m0s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user