Update download-image.yml

This commit is contained in:
rl544
2026-03-04 13:42:18 +09:00
committed by GitHub
parent dca7f342dd
commit 44dbe90905
+12 -7
View File
@@ -1,20 +1,25 @@
name: Docker Image Downloader
on:
workflow_dispatch: # 버튼을 눌러 수동 실행
workflow_dispatch: # 수동 실행 버튼 활성화
jobs:
build:
download:
runs-on: ubuntu-latest
steps:
- name: Pull and Save Docker Image
- name: Docker Image Pull
run: |
# 빌드(build) 하지 않고 이미지를 바로 가져옵니다
docker pull prom/prometheus:latest
- name: Docker Image Save
run: |
# 가져온 이미지를 tar 파일로 압축합니다
docker save prom/prometheus:latest -o prometheus.tar
- name: Upload Artifact
- name: Upload to GitHub Artifacts
uses: actions/upload-artifact@v4
with:
name: prometheus-image
name: prometheus-tar-file
path: prometheus.tar
retention-days: 1 # 보관 기간 (최대 90일)
retention-days: 1