From e90809bd12cfd186a26454247178f44458037612 Mon Sep 17 00:00:00 2001 From: rl544 <111494264+rl544@users.noreply.github.com> Date: Wed, 4 Mar 2026 13:35:56 +0900 Subject: [PATCH] Create download-image.yml --- .github/workflows/download-image.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/download-image.yml diff --git a/.github/workflows/download-image.yml b/.github/workflows/download-image.yml new file mode 100644 index 0000000..60a9e4d --- /dev/null +++ b/.github/workflows/download-image.yml @@ -0,0 +1,20 @@ +name: Docker Image Downloader + +on: + workflow_dispatch: # 버튼을 눌러 수동 실행 + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Pull and Save Docker Image + run: | + docker pull prom/prometheus:latest + docker save prom/prometheus:latest -o prometheus.tar + + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: prometheus-image + path: prometheus.tar + retention-days: 1 # 보관 기간 (최대 90일)