{"id":1059,"date":"2025-12-16T18:57:55","date_gmt":"2025-12-16T15:27:55","guid":{"rendered":"https:\/\/rayka-co.ir\/new\/?post_type=lesson&#038;p=1059"},"modified":"2025-12-16T19:13:25","modified_gmt":"2025-12-16T15:43:25","slug":"%db%b2%db%b3-%d8%a7%d8%ac%d8%b1%d8%a7%db%8c-forgejo-workflow-%d8%a8%d8%a7-docker-image-%d8%b3%d9%81%d8%a7%d8%b1%d8%b4%db%8c","status":"publish","type":"lesson","link":"https:\/\/rayka-co.ir\/new\/\u062f\u0631\u0633\/%db%b2%db%b3-%d8%a7%d8%ac%d8%b1%d8%a7%db%8c-forgejo-workflow-%d8%a8%d8%a7-docker-image-%d8%b3%d9%81%d8%a7%d8%b1%d8%b4%db%8c\/","title":{"rendered":"\u200b\u06f2\u06f3. \u0627\u062c\u0631\u0627\u06cc Forgejo Workflow \u0628\u0627 Docker Image \u0633\u0641\u0627\u0631\u0634\u06cc\u200b"},"content":{"rendered":"\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u062f\u0631\u0633 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 <strong>workflow \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u06af\u0631\u0641\u062a\u0646 backup \u0627\u0632 \u062a\u062c\u0647\u06cc\u0632\u0627\u062a \u0634\u0628\u06a9\u0647<\/strong> \u06a9\u0647 \u062f\u0631 \u062f\u0631\u0633\u200c\u0647\u0627\u06cc \u0642\u0628\u0644\u06cc \u0622\u0646 \u0631\u0627 \u0622\u0645\u0627\u062f\u0647 \u06a9\u0631\u062f\u0647 \u0628\u0648\u062f\u06cc\u0645 \u0648 \u0631\u0648\u06cc \u06cc\u06a9 <strong>Docker image \u0639\u0645\u0648\u0645\u06cc (Ubuntu) \u06a9\u0647 \u0627\u0632 Docker Hub \u062f\u0627\u0646\u0644\u0648\u062f \u0645\u06cc\u200c\u0634\u062f<\/strong> \u0627\u062c\u0631\u0627 \u0645\u06cc\u200c\u0634\u062f\u060c \u0627\u06cc\u0646\u200c\u0628\u0627\u0631 \u0631\u0648\u06cc \u06cc\u06a9 <strong>Docker image \u0627\u062e\u062a\u0635\u0627\u0635\u06cc<\/strong> \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u0645.<\/p>\n\n\n\n<p>\u0627\u06cc\u0646 Docker image \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0631\u0627 \u062f\u0631 \u062f\u0631\u0633 \u0642\u0628\u0644 <strong>\u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06cc\u06a9 workflow \u062c\u062f\u0627\u06af\u0627\u0646\u0647<\/strong> \u062e\u0648\u062f\u0645\u0627\u0646 \u0633\u0627\u062e\u062a\u0647 \u0648 \u062f\u0631 <strong>Forgejo Container Registry<\/strong> \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u0645.<\/p>\n\n\n\n<p>\u0645\u0647\u0645\u200c\u062a\u0631\u06cc\u0646 \u062a\u063a\u06cc\u06cc\u0631\u06cc \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u062f\u0631\u0633 \u062f\u0631 workflow \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647\u200c\u0647\u0627\u06cc <strong><code>container<\/code><\/strong> \u0648 <strong><code>image<\/code><\/strong> \u0627\u0633\u062a. \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647\u200c\u0647\u0627\u060c \u0645\u0633\u06cc\u0631 Docker image \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0630\u062e\u06cc\u0631\u0647\u200c\u0634\u062f\u0647 \u062f\u0631 Forgejo Registry \u0631\u0627 \u0628\u0647 workflow \u0645\u0639\u0631\u0641\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u0648 \u0645\u0634\u062e\u0635 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06a9\u0647 <strong>job \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 backup \u062f\u0627\u062e\u0644 \u0627\u06cc\u0646 container \u0627\u062c\u0631\u0627 \u0634\u0648\u062f<\/strong>\u060c \u0646\u0647 \u0631\u0648\u06cc Docker image \u0639\u0645\u0648\u0645\u06cc Ubuntu.<\/p>\n\n\n\n<p>\u062f\u0631 \u0646\u062a\u06cc\u062c\u0647\u060c \u0628\u0627 \u0627\u06cc\u0646 \u0631\u0648\u0634 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0648\u0627\u0628\u0633\u062a\u06af\u06cc\u200c\u0647\u0627\u06cc workflow \u0631\u0627 \u0627\u0632 \u062e\u0648\u062f workflow \u062c\u062f\u0627 \u06a9\u0631\u062f\u0647 \u0648 \u0627\u062c\u0631\u0627\u06cc job\u0647\u0627 \u0631\u0627 \u06a9\u0627\u0645\u0644\u0627\u064b \u0628\u0647 Docker image\u200c\u0647\u0627\u06cc \u0627\u0632 \u067e\u06cc\u0634 \u0622\u0645\u0627\u062f\u0647\u200c\u0634\u062f\u0647 \u0628\u0633\u067e\u0627\u0631\u06cc\u0645.<\/p>\n\n\n\n<p>\u0645\u0648\u0627\u0631\u062f\u06cc \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u062f\u0631\u0633 \u0628\u062d\u062b \u0648 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0645\u06cc\u200c\u0634\u0648\u0646\u062f \u0639\u0628\u0627\u0631\u062a\u0646\u062f \u0627\u0632<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0627\u062c\u0631\u0627\u06cc workflow \u062f\u0631 Forgejo \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <strong>Docker Image \u0633\u0641\u0627\u0631\u0634\u06cc<\/strong><\/li>\n\n\n\n<li>\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647\u200c\u0647\u0627\u06cc <strong><code>container<\/code><\/strong> \u0648 <strong><code>image<\/code><\/strong> \u062f\u0631 workflow<\/li>\n\n\n\n<li>Pull \u06a9\u0631\u062f\u0646 Docker image \u0627\u0632 <strong>Forgejo Container Registry<\/strong><\/li>\n\n\n\n<li>\u0627\u062c\u0631\u0627\u06cc job\u0647\u0627\u06cc CI\/CD \u062f\u0627\u062e\u0644 container \u0628\u0647\u200c\u062c\u0627\u06cc \u0645\u062d\u06cc\u0637 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 runner<\/li>\n\n\n\n<li>\u0633\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc workflow \u0628\u0627 \u062d\u0630\u0641 \u0646\u0635\u0628 \u0648\u0627\u0628\u0633\u062a\u06af\u06cc\u200c\u0647\u0627 \u0627\u0632 \u0645\u0631\u0627\u062d\u0644 \u0627\u062c\u0631\u0627<\/li>\n<\/ul>\n\n\n\n<style>.h_iframe-aparat_embed_frame{position:relative;}.h_iframe-aparat_embed_frame .ratio{display:block;width:100%;height:auto;}.h_iframe-aparat_embed_frame iframe{position:absolute;top:0;left:0;width:100%;height:100%;}<\/style><div class=\"h_iframe-aparat_embed_frame\"><span style=\"display: block;padding-top: 57%\"><\/span><iframe src=\"https:\/\/www.aparat.com\/video\/video\/embed\/videohash\/kbjk0ft\/vt\/frame\"  allowFullScreen=\"true\" webkitallowfullscreen=\"true\" mozallowfullscreen=\"true\"><\/iframe><\/div>\n\n\n<div class=\"sensei-block-wrapper\">\n<div class=\"wp-block-sensei-lms-lesson-actions\"><div class=\"sensei-buttons-container\">\n\n\n\n\n\n\n\n<\/div><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_initial_content":"","_new_post":false,"_quiz_has_questions":false,"_lesson_complexity":"easy","_lesson_length":10,"_lesson_course":338,"_lesson_preview":"preview"},"lesson-tag":[],"class_list":["post-1059","lesson","type-lesson","status-publish","hentry","module-ci-cd-with-forgejo","post"],"_links":{"self":[{"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/lessons\/1059","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/lessons"}],"about":[{"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/types\/lesson"}],"replies":[{"embeddable":true,"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/comments?post=1059"}],"version-history":[{"count":3,"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/lessons\/1059\/revisions"}],"predecessor-version":[{"id":1063,"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/lessons\/1059\/revisions\/1063"}],"wp:attachment":[{"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/media?parent=1059"}],"wp:term":[{"taxonomy":"lesson-tag","embeddable":true,"href":"https:\/\/rayka-co.ir\/new\/wp-json\/wp\/v2\/lesson-tag?post=1059"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}