{"id":457288,"date":"2025-04-24T21:00:21","date_gmt":"2025-04-24T21:00:21","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=457288"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=457288","title":{"rendered":"<span>\u0414\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c: DevOps<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/891190\/\" rel=\"noopener noreferrer nofollow\">\u0414\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c<\/a><\/p>\n<p>\u0415\u0441\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u0443\u0442\u0435\u0447\u043a\u0443 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432, \u043f\u0430\u0440\u043e\u043b\u0435\u0439 \u0438 API \u043a\u043b\u044e\u0447\u0435\u0439 \u2013 <a href=\"https:\/\/github.com\/gitleaks\/gitleaks\" rel=\"noopener noreferrer nofollow\">GitLeaks<\/a>.<\/p>\n<p>\u041e\u0447\u0435\u043d\u044c \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442, \u043d\u043e \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e, \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043d\u0435 \u0437\u0430\u0441\u043b\u0443\u0436\u0435\u043d\u043d\u043e. \u041a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u0434\u0430 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0432\u043e\u043f\u0440\u043e\u0441\u044b, \u043d\u0435\u043b\u044c\u0437\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u043f\u0438\u0441\u043a\u0438 \u0441 regex \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0430\u043c\u0438 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438, \u0438 \u043e\u043d \u043d\u0435 \u0443\u043c\u0435\u0435\u0442 \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 JSON \u0432 stdout, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0435\u0433\u043e \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043d\u0430 \u0431\u044d\u043a\u0435\u043d\u0434\u0435.<\/p>\n<p>\u041f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u0430\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c:<\/p>\n<ul>\n<li>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/julialang.org\" rel=\"noopener noreferrer nofollow\">Julia<\/a> \u2013 \u043e\u0434\u0438\u043d \u0438\u0437 \u043b\u0443\u0447\u0448\u0438\u0445 \u044f\u0437\u044b\u043a\u043e\u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0438\u0448\u0435\u0432\u044b\u043c. \u041e\u0431\u043b\u0430\u0441\u0442\u044c \u0435\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0448\u0438\u0440\u0435 HPC. \u041e\u043d \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0441\u0430\u043c\u044b\u0445 \u0440\u0430\u0437\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0430\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 GitHub.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0430\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0434\u0435\u043b\u0430\u0442\u044c \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u0432\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b.<\/p>\n<\/li>\n<\/ul>\n<p>\u0414\u043e\u043b\u0433\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043a\u043e\u0434\u0435. \u041a\u043e\u0434 \u043b\u0443\u0447\u0448\u0435 \u043f\u0438\u0441\u0430\u0442\u044c \u0438\u043b\u0438 \u0447\u0438\u0442\u0430\u0442\u044c, \u043e\u0431\u0441\u0443\u0436\u0434\u0430\u0442\u044c \u0435\u0433\u043e \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e.<\/p>\n<p><a href=\"https:\/\/github.com\/avkcode\/leaquor\/blob\/main\/leaquor.jl\" rel=\"noopener noreferrer nofollow\">\u0421\u0430\u043c \u0441\u043a\u0440\u0438\u043f\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c<\/a>:<\/p>\n<pre><code>Usage: julia leaquor.jl [options]  Options: \u00a0 -h, --help\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Display this help message. \u00a0 --json\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Output results in JSON format. \u00a0 --output-file FILE\u00a0 Write JSON results to the specified file. \u00a0 --patterns FILE\u00a0\u00a0\u00a0\u00a0 Load additional patterns from a YAML file. \u00a0 --ignore-files LIST Comma-separated list of files to ignore (e.g., \"file1.txt,file2.json\"). \u00a0 --repo URL\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Clone and scan a GitHub repository (e.g., https:\/\/github.com\/user\/repo.git). \u00a0 --dir PATH\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Scan a specific directory on the file system. \u00a0 --entropy-threshold FLOAT Set custom entropy threshold (default: 3.5). \u00a0 --log-file FILE\u00a0\u00a0\u00a0\u00a0 Write logs to the specified file.  Arguments: \u00a0 Either --repo or --dir must be provided.  Examples: \u00a0 julia leaquor.jl --repo https:\/\/github.com\/user\/repo.git --json --output-file out.json \u00a0 julia leaquor.jl --dir .\/my_project --patterns custom_patterns.yaml | jq . <\/code><\/pre>\n<p><code>--patterns<\/code> &lt;YAML \u0444\u0430\u0439\u043b \u0441 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u043c\u0438 regex \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0430\u043c\u0438 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430&gt;<br \/> <code>--dir<\/code> \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0434\u043b\u044f \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<br \/> <code>--repo<\/code> \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u0440\u0430\u0437\u0443 GitHub \u0440\u0435\u043f\u043e<\/p>\n<hr\/>\n<p>\u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u0430\u043a \u044d\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u0434\u043b\u044f GitHub:<\/p>\n<h3>Docker \u0438 DEB \u043f\u0430\u043a\u0435\u0442\u044b<\/h3>\n<p>\u0412 \u043e\u0434\u043d\u043e\u043c <a href=\"https:\/\/github.com\/avkcode\/leaquor\/blob\/main\/Dockerfile\" rel=\"noopener noreferrer nofollow\">Docker \u0444\u0430\u0439\u043b\u0435<\/a> \u043c\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430 Julia. Julia \u0432 \u044d\u0442\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435 \u043d\u0438\u0447\u0435\u043c \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 Python \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u043e\u0432.<\/p>\n<p>\u0412 \u0432\u0442\u043e\u0440\u043e\u043c <a href=\"https:\/\/github.com\/avkcode\/leaquor\/blob\/main\/Dockerfile.package\" rel=\"noopener noreferrer nofollow\">Docker \u0444\u0430\u0439\u043b\u0435<\/a> \u043c\u044b \u0442\u0430\u043a \u0436\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442, \u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f nfpm &#8212; \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043d\u0430 \u0437\u0430\u043c\u043d\u0443 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u043c\u0443 toolchain\u0443 \u0434\u043b\u044f DEB \u0438 RPM \u043f\u0430\u043a\u0435\u0442\u043e\u0432.<\/p>\n<pre><code># Generate DEB packages RUN nfpm pkg --config nfpm.yaml --target leaquor.deb  # Final stage to output packages FROM scratch COPY --from=packager \/app\/leaquor.deb \/leaquor.deb <\/code><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0434\u0432\u0435 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0442 \u0438 \u043a\u043e\u043f\u0438\u0440\u0443\u044e\u0442 \u043f\u0430\u043a\u0435\u0442 \u0432 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u044e.<\/p>\n<h3>Make<\/h3>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f <a href=\"https:\/\/github.com\/avkcode\/leaquor\/blob\/main\/Makefile\" rel=\"noopener noreferrer nofollow\">Makefile<\/a> \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0434\u043b\u044f Docker \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438:<\/p>\n<pre><code># Build the Docker image docker-build: @echo \"Building Docker image $(DOCKER_IMAGE)...\" docker build -t $(DOCKER_IMAGE) .  # Run the Docker container docker-run: @echo \"Running Docker container $(DOCKER_CONTAINER)...\" docker run --rm -v $(PWD):\/app $(DOCKER_IMAGE) --help <\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0431\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0442\u043e \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f help:<\/p>\n<pre><code class=\"bash\">make Available targets:   test             - Run unit tests   docker-build     - Build the Docker image   docker-run       - Run the Docker container   docker-push      - Push the Docker image to Docker Hub   docker-clean     - Clean up Docker artifacts (images, containers, volumes)   docker-clean-all - Force cleanup of all Docker images and artifacts   release          - Create a GitHub release   open-issue       - Open a new issue on GitHub   create-pr        - Create a pull request   list-issues      - List open issues   list-prs         - List open pull requests   deploy-docs      - Deploy documentation to GitHub Pages   check-workflows  - Check GitHub Actions workflow status   generate-changelog - Generate a changelog <\/code><\/pre>\n<p>\u042d\u0442\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0448\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0437 \u043d\u0430 DockerHub:<\/p>\n<pre><code class=\"bash\"># Push the Docker image to Docker Hub docker-push: docker-build @echo \"Logging into Docker Hub...\" @docker login -u $(DOCKER_HUB_USERNAME) @echo \"Tagging image for Docker Hub...\" docker tag $(DOCKER_IMAGE) $(DOCKER_HUB_REPO):latest @echo \"Pushing image to Docker Hub...\" docker push $(DOCKER_HUB_REPO):latest @echo \"Image pushed successfully to $(DOCKER_HUB_REPO):latest\" <\/code><\/pre>\n<p>\u041d\u0438\u0447\u0442\u043e \u043d\u0435 \u043c\u0435\u0448\u0430\u0435\u0442 \u043d\u0430\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c GitHub CLI \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0442\u044d\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u043f\u043e \u0438\u0437 \u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0435\u0433\u043e, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432 GitHub release (\u0434\u0430 \u044d\u0442\u043e \u0442\u0430\u043c \u0441\u043b\u0435\u0432\u0430 \u0441 \u0446\u0438\u0444\u0440\u0430\u043c\u0438 v1.0.0):<\/p>\n<pre><code class=\"bash\"># Target: Create a Git tag and release on GitHub .PHONY: release release: @echo \"Creating Git tag and releasing on GitHub...\" @read -p \"Enter the version number (e.g., v1.0.0): \" version; \\ git tag -a $$version -m \"Release $$version\"; \\ git push origin $$version; \\ gh release create $$version --generate-notes @echo \"Release $$version created and pushed to GitHub.\"  # Upload .deb package to GitHub release upload-release: @if [ ! -f \"leaquor.deb\" ]; then \\         echo \"Error: leaquor.deb not found. Please run 'make package' first.\"; \\         exit 1; \\     fi @echo \"Uploading leaquor.deb to GitHub release $(RELEASE_TAG)...\" gh release upload $(RELEASE_TAG) leaquor.deb --repo $(GITHUB_REPO) @echo \"Upload complete\" <\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/469\/bf1\/b57\/469bf1b577cc23740bad3907cbf9ca14.png\" alt=\"Release\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/\/post_images\/469\/bf1\/b57\/469bf1b577cc23740bad3907cbf9ca14.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/469\/bf1\/b57\/469bf1b577cc23740bad3907cbf9ca14.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>Release<\/figcaption><\/div>\n<\/figure>\n<h3>Test<\/h3>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442 \u0432 docker \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043d\u0430 leaky-repo \u2013 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0440\u0435\u043f\u043e \u0433\u0434\u0435 \u0442\u043e\u0447\u043d\u043e \u0435\u0441\u0442\u044c \u0443\u0442\u0435\u0447\u043a\u0438 \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<pre><code class=\"bash\"># Test target to validate the script test: docker-build clone-test-repo @echo \"Running tests...\" docker run --rm \\         -v $(PWD)\/$(JULIA_SCRIPT):\/app\/$(JULIA_SCRIPT) \\         -v $(PWD)\/$(TEST_REPO_DIR):\/app\/$(TEST_REPO_DIR) \\         --name $(DOCKER_CONTAINER) \\         $(DOCKER_IMAGE) \\         julia \/app\/$(JULIA_SCRIPT) --dir \/app\/$(TEST_REPO_DIR) \\ --patterns patterns.yaml \\ --output-file results.json \\        --log-file \/app\/test.log @echo \"Tests completed. Check test.log for details.\" <\/code><\/pre>\n<h3>Pipeline<\/h3>\n<p>\u041d\u0443 \u0438 \u043d\u0430\u043a\u043e\u043d\u0435\u0446, \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0435 \u0431\u044b\u043b\u043e \u043f\u043e GitOps \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d GitHub:<\/p>\n<pre><code>name: CI\/CD Pipeline  on:   push:     branches:       - main   pull_request:     branches:       - main  jobs:   build-and-test:     runs-on: ubuntu-latest      steps:     - name: Checkout code       uses: actions\/checkout@v3      - name: Set up Docker Buildx       uses: docker\/setup-buildx-action@v2      - name: Log in to Docker Hub       if: github.event_name == 'push' &amp;&amp; startsWith(github.ref, 'refs\/tags\/')       uses: docker\/login-action@v2       with:         username: ${{ secrets.DOCKER_HUB_USERNAME }}         password: ${{ secrets.DOCKER_HUB_TOKEN }}      - name: Build Docker image       run: make docker-build      - name: Run tests       run: make test      - name: Build package (on tag push)       if: github.event_name == 'push' &amp;&amp; startsWith(github.ref, 'refs\/tags\/')       run: make package      - name: Push Docker image to Docker Hub (on tag push)       if: github.event_name == 'push' &amp;&amp; startsWith(github.ref, 'refs\/tags\/')       run: |         docker tag leaquor-image:latest ${{ secrets.DOCKER_HUB_REPO }}:${{ github.ref_name }}         docker push ${{ secrets.DOCKER_HUB_REPO }}:${{ github.ref_name }}          <\/code><\/pre>\n<p>\u0417\u0434\u0435\u0441\u044c \u0432 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043c\u044b \u0437\u0430\u0432\u0435\u0440\u043d\u0443\u043b\u0438 \u0432\u0441\u0435 \u0432 Make. \u041c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0442\u0430\u0440\u0433\u0435\u0442\u044b make docker-build, make test \u0438 \u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u0438 \u043f\u0443\u0448\u0435.<\/p>\n<hr\/>\n<p><a href=\"https:\/\/github.com\/avkcode\/leaquor\/actions\/runs\/14643796137\/job\/41092589663\" rel=\"noopener noreferrer nofollow\">\u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0432\u0441\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e<\/a>. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Julia \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0448\u0430\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u043a\u0430\u0436\u0434\u043e\u0434\u043d\u0435\u0432\u043d\u044b\u0435 day-to-day \u0437\u0430\u0434\u0430\u0447\u0438, \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e Docker \u0438 GitHub.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/904146\/\"> https:\/\/habr.com\/ru\/articles\/904146\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/891190\/\" rel=\"noopener noreferrer nofollow\">\u0414\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c<\/a><\/p>\n<p>\u0415\u0441\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u0443\u0442\u0435\u0447\u043a\u0443 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432, \u043f\u0430\u0440\u043e\u043b\u0435\u0439 \u0438 API \u043a\u043b\u044e\u0447\u0435\u0439 \u2013 <a href=\"https:\/\/github.com\/gitleaks\/gitleaks\" rel=\"noopener noreferrer nofollow\">GitLeaks<\/a>.<\/p>\n<p>\u041e\u0447\u0435\u043d\u044c \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442, \u043d\u043e \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e, \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043d\u0435 \u0437\u0430\u0441\u043b\u0443\u0436\u0435\u043d\u043d\u043e. \u041a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u0434\u0430 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0432\u043e\u043f\u0440\u043e\u0441\u044b, \u043d\u0435\u043b\u044c\u0437\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u043f\u0438\u0441\u043a\u0438 \u0441 regex \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0430\u043c\u0438 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438, \u0438 \u043e\u043d \u043d\u0435 \u0443\u043c\u0435\u0435\u0442 \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 JSON \u0432 stdout, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0435\u0433\u043e \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043d\u0430 \u0431\u044d\u043a\u0435\u043d\u0434\u0435.<\/p>\n<p>\u041f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u0430\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c:<\/p>\n<ul>\n<li>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/julialang.org\" rel=\"noopener noreferrer nofollow\">Julia<\/a> \u2013 \u043e\u0434\u0438\u043d \u0438\u0437 \u043b\u0443\u0447\u0448\u0438\u0445 \u044f\u0437\u044b\u043a\u043e\u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0438\u0448\u0435\u0432\u044b\u043c. \u041e\u0431\u043b\u0430\u0441\u0442\u044c \u0435\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0448\u0438\u0440\u0435 HPC. \u041e\u043d \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0441\u0430\u043c\u044b\u0445 \u0440\u0430\u0437\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0430\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 GitHub.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0430\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0434\u0435\u043b\u0430\u0442\u044c \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u0432\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b.<\/p>\n<\/li>\n<\/ul>\n<p>\u0414\u043e\u043b\u0433\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043a\u043e\u0434\u0435. \u041a\u043e\u0434 \u043b\u0443\u0447\u0448\u0435 \u043f\u0438\u0441\u0430\u0442\u044c \u0438\u043b\u0438 \u0447\u0438\u0442\u0430\u0442\u044c, \u043e\u0431\u0441\u0443\u0436\u0434\u0430\u0442\u044c \u0435\u0433\u043e \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e.<\/p>\n<p><a href=\"https:\/\/github.com\/avkcode\/leaquor\/blob\/main\/leaquor.jl\" rel=\"noopener noreferrer nofollow\">\u0421\u0430\u043c \u0441\u043a\u0440\u0438\u043f\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c<\/a>:<\/p>\n<pre><code>Usage: julia leaquor.jl [options]  Options: \u00a0 -h, --help\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Display this help message. \u00a0 --json\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Output results in JSON format. \u00a0 --output-file FILE\u00a0 Write JSON results to the specified file. \u00a0 --patterns FILE\u00a0\u00a0\u00a0\u00a0 Load additional patterns from a YAML file. \u00a0 --ignore-files LIST Comma-separated list of files to ignore (e.g., \"file1.txt,file2.json\"). \u00a0 --repo URL\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Clone and scan a GitHub repository (e.g., https:\/\/github.com\/user\/repo.git). \u00a0 --dir PATH\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Scan a specific directory on the file system. \u00a0 --entropy-threshold FLOAT Set custom entropy threshold (default: 3.5). \u00a0 --log-file FILE\u00a0\u00a0\u00a0\u00a0 Write logs to the specified file.  Arguments: \u00a0 Either --repo or --dir must be provided.  Examples: \u00a0 julia leaquor.jl --repo https:\/\/github.com\/user\/repo.git --json --output-file out.json \u00a0 julia leaquor.jl --dir .\/my_project --patterns custom_patterns.yaml | jq . <\/code><\/pre>\n<p><code>--patterns<\/code> &lt;YAML \u0444\u0430\u0439\u043b \u0441 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u043c\u0438 regex \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0430\u043c\u0438 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430&gt;<br \/> <code>--dir<\/code> \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0434\u043b\u044f \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<br \/> <code>--repo<\/code> \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u0440\u0430\u0437\u0443 GitHub \u0440\u0435\u043f\u043e<\/p>\n<hr\/>\n<p>\u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u0430\u043a \u044d\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u0434\u043b\u044f GitHub:<\/p>\n<h3>Docker \u0438 DEB \u043f\u0430\u043a\u0435\u0442\u044b<\/h3>\n<p>\u0412 \u043e\u0434\u043d\u043e\u043c <a href=\"https:\/\/github.com\/avkcode\/leaquor\/blob\/main\/Dockerfile\" rel=\"noopener noreferrer nofollow\">Docker \u0444\u0430\u0439\u043b\u0435<\/a> \u043c\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430 Julia. Julia \u0432 \u044d\u0442\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435 \u043d\u0438\u0447\u0435\u043c \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 Python \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u043e\u0432.<\/p>\n<p>\u0412 \u0432\u0442\u043e\u0440\u043e\u043c <a href=\"https:\/\/github.com\/avkcode\/leaquor\/blob\/main\/Dockerfile.package\" rel=\"noopener noreferrer nofollow\">Docker \u0444\u0430\u0439\u043b\u0435<\/a> \u043c\u044b \u0442\u0430\u043a \u0436\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442, \u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f nfpm &#8212; \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043d\u0430 \u0437\u0430\u043c\u043d\u0443 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u043c\u0443 toolchain\u0443 \u0434\u043b\u044f DEB \u0438 RPM \u043f\u0430\u043a\u0435\u0442\u043e\u0432.<\/p>\n<pre><code># Generate DEB packages RUN nfpm pkg --config nfpm.yaml --target leaquor.deb  # Final stage to output packages FROM scratch COPY --from=packager \/app\/leaquor.deb \/leaquor.deb <\/code><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0434\u0432\u0435 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0442 \u0438 \u043a\u043e\u043f\u0438\u0440\u0443\u044e\u0442 \u043f\u0430\u043a\u0435\u0442 \u0432 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u044e.<\/p>\n<h3>Make<\/h3>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f <a href=\"https:\/\/github.com\/avkcode\/leaquor\/blob\/main\/Makefile\" rel=\"noopener noreferrer nofollow\">Makefile<\/a> \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0434\u043b\u044f Docker \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438:<\/p>\n<pre><code># Build the Docker image docker-build: @echo \"Building Docker image $(DOCKER_IMAGE)...\" docker build -t $(DOCKER_IMAGE) .  # Run the Docker container docker-run: @echo \"Running Docker container $(DOCKER_CONTAINER)...\" docker run --rm -v $(PWD):\/app $(DOCKER_IMAGE) --help <\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0431\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0442\u043e \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f help:<\/p>\n<pre><code class=\"bash\">make Available targets:   test             - Run unit tests   docker-build     - Build the Docker image   docker-run       - Run the Docker container   docker-push      - Push the Docker image to Docker Hub   docker-clean     - Clean up Docker artifacts (images, containers, volumes)   docker-clean-all - Force cleanup of all Docker images and artifacts   release          - Create a GitHub release   open-issue       - Open a new issue on GitHub   create-pr        - Create a pull request   list-issues      - List open issues   list-prs         - List open pull requests   deploy-docs      - Deploy documentation to GitHub Pages   check-workflows  - Check GitHub Actions workflow status   generate-changelog - Generate a changelog <\/code><\/pre>\n<p>\u042d\u0442\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0448\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0437 \u043d\u0430 DockerHub:<\/p>\n<pre><code class=\"bash\"># Push the Docker image to Docker Hub docker-push: docker-build @echo \"Logging into Docker Hub...\" @docker login -u $(DOCKER_HUB_USERNAME) @echo \"Tagging image for Docker Hub...\" docker tag $(DOCKER_IMAGE) $(DOCKER_HUB_REPO):latest @echo \"Pushing image to Docker Hub...\" docker push $(DOCKER_HUB_REPO):latest @echo \"Image pushed successfully to $(DOCKER_HUB_REPO):latest\" <\/code><\/pre>\n<p>\u041d\u0438\u0447\u0442\u043e \u043d\u0435 \u043c\u0435\u0448\u0430\u0435\u0442 \u043d\u0430\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c GitHub CLI \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0442\u044d\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u043f\u043e \u0438\u0437 \u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0435\u0433\u043e, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432 GitHub release (\u0434\u0430 \u044d\u0442\u043e \u0442\u0430\u043c \u0441\u043b\u0435\u0432\u0430 \u0441 \u0446\u0438\u0444\u0440\u0430\u043c\u0438 v1.0.0):<\/p>\n<pre><code class=\"bash\"># Target: Create a Git tag and release on GitHub .PHONY: release release: @echo \"Creating Git tag and releasing on GitHub...\" @read -p \"Enter the version number (e.g., v1.0.0): \" version; \\ git tag -a $$version -m \"Release $$version\"; \\ git push origin $$version; \\ gh release create $$version --generate-notes @echo \"Release $$version created and pushed to GitHub.\"  # Upload .deb package to GitHub release upload-release: @if [ ! -f \"leaquor.deb\" ]; then \\         echo \"Error: leaquor.deb not found. Please run 'make package' first.\"; \\         exit 1; \\     fi @echo \"Uploading leaquor.deb to GitHub release $(RELEASE_TAG)...\" gh release upload $(RELEASE_TAG) leaquor.deb --repo $(GITHUB_REPO) @echo \"Upload complete\" <\/code><\/pre>\n<figure class=\"\">\n<div><figcaption>Release<\/figcaption><\/div>\n<\/figure>\n<h3>Test<\/h3>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442 \u0432 docker \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043d\u0430 leaky-repo \u2013 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0440\u0435\u043f\u043e \u0433\u0434\u0435 \u0442\u043e\u0447\u043d\u043e \u0435\u0441\u0442\u044c \u0443\u0442\u0435\u0447\u043a\u0438 \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<pre><code class=\"bash\"># Test target to validate the script test: docker-build clone-test-repo @echo \"Running tests...\" docker run --rm \\         -v $(PWD)\/$(JULIA_SCRIPT):\/app\/$(JULIA_SCRIPT) \\         -v $(PWD)\/$(TEST_REPO_DIR):\/app\/$(TEST_REPO_DIR) \\         --name $(DOCKER_CONTAINER) \\         $(DOCKER_IMAGE) \\         julia \/app\/$(JULIA_SCRIPT) --dir \/app\/$(TEST_REPO_DIR) \\ --patterns patterns.yaml \\ --output-file results.json \\        --log-file \/app\/test.log @echo \"Tests completed. Check test.log for details.\" <\/code><\/pre>\n<h3>Pipeline<\/h3>\n<p>\u041d\u0443 \u0438 \u043d\u0430\u043a\u043e\u043d\u0435\u0446, \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0435 \u0431\u044b\u043b\u043e \u043f\u043e GitOps \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d GitHub:<\/p>\n<pre><code>name: CI\/CD Pipeline  on:   push:     branches:       - main   pull_request:     branches:       - main  jobs:   build-and-test:     runs-on: ubuntu-latest      steps:     - name: Checkout code       uses: actions\/checkout@v3      - name: Set up Docker Buildx       uses: docker\/setup-buildx-action@v2      - name: Log in to Docker Hub       if: github.event_name == 'push' &amp;&amp; startsWith(github.ref, 'refs\/tags\/')       uses: docker\/login-action@v2       with:         username: ${{ secrets.DOCKER_HUB_USERNAME }}         password: ${{ secrets.DOCKER_HUB_TOKEN }}      - name: Build Docker image       run: make docker-build      - name: Run tests       run: make test      - name: Build package (on tag push)       if: github.event_name == 'push' &amp;&amp; startsWith(github.ref, 'refs\/tags\/')       run: make package      - name: Push Docker image to Docker Hub (on tag push)       if: github.event_name == 'push' &amp;&amp; startsWith(github.ref, 'refs\/tags\/')       run: |         docker tag leaquor-image:latest ${{ secrets.DOCKER_HUB_REPO }}:${{ github.ref_name }}         docker push ${{ secrets.DOCKER_HUB_REPO }}:${{ github.ref_name }}          <\/code><\/pre>\n<p>\u0417\u0434\u0435\u0441\u044c \u0432 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043c\u044b \u0437\u0430\u0432\u0435\u0440\u043d\u0443\u043b\u0438 \u0432\u0441\u0435 \u0432 Make. \u041c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0442\u0430\u0440\u0433\u0435\u0442\u044b make docker-build, make test \u0438 \u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u0438 \u043f\u0443\u0448\u0435.<\/p>\n<hr\/>\n<p><a href=\"https:\/\/github.com\/avkcode\/leaquor\/actions\/runs\/14643796137\/job\/41092589663\" rel=\"noopener noreferrer nofollow\">\u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0432\u0441\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e<\/a>. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Julia \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0448\u0430\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u043a\u0430\u0436\u0434\u043e\u0434\u043d\u0435\u0432\u043d\u044b\u0435 day-to-day \u0437\u0430\u0434\u0430\u0447\u0438, \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e Docker \u0438 GitHub.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/904146\/\"> https:\/\/habr.com\/ru\/articles\/904146\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-457288","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/457288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=457288"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/457288\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=457288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=457288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=457288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}