fix: use update-container-description-action instead of raw docker-pushrm
Build and Deploy / build-and-release (release) Successful in 3m20s
Build and Deploy / build-and-release (release) Successful in 3m20s
The raw docker run with docker-pushrm keeps failing due to WORKDIR / mount path mismatches. Replace with the official GitHub Action wrapper from the same author, which handles the internals correctly.
This commit is contained in:
@@ -76,10 +76,11 @@ jobs:
|
|||||||
${{ steps.meta.outputs.tag_latest }}
|
${{ steps.meta.outputs.tag_latest }}
|
||||||
|
|
||||||
- name: Push README to Docker Hub
|
- name: Push README to Docker Hub
|
||||||
run: >
|
uses: christian-korneck/update-container-description-action@v1
|
||||||
docker run --rm
|
env:
|
||||||
-v "$(pwd)/README.md:/README.md:ro"
|
DOCKER_USER: ${{ vars.DOCKER_HUB_USERNAME }}
|
||||||
-e DOCKER_USER="${{ vars.DOCKER_HUB_USERNAME }}"
|
DOCKER_PASS: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||||
-e DOCKER_PASS="${{ secrets.DOCKER_HUB_TOKEN }}"
|
with:
|
||||||
chko/docker-pushrm:latest
|
destination_container_repo: ${{ vars.DOCKER_HUB_USERNAME }}/${{ env.APP_NAME }}
|
||||||
"${{ vars.DOCKER_HUB_USERNAME }}/${{ env.APP_NAME }}"
|
provider: dockerhub
|
||||||
|
readme_file: README.md
|
||||||
|
|||||||
Reference in New Issue
Block a user