mirror of
https://github.com/NewFuture/DDNS.git
synced 2026-10-20 17:54:38 +00:00
* Initial plan * fix(docker): add GITHUB_REF_NAME to Dockerfile for correct version Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com> * docs(docker): add comment explaining GITHUB_REF_NAME purpose * refactor(docker): remove redundant patch.py call from Dockerfile The patch.py script is already run by the GitHub Actions workflow before the Docker build with the correct GITHUB_REF_NAME environment variable. Running it again inside the Dockerfile is redundant and unnecessary. This simplifies the Dockerfile by removing: - The copy of .github/patch.py - The ARG/ENV GITHUB_REF_NAME declarations - The RUN python3 .github/patch.py docker command The workflow already handles patching at: - .github/workflows/build.yml line 351 - .github/workflows/publish.yml line 26 Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>