From 5c9ab5838f87f32356eb9ca5141f9e072ba82f71 Mon Sep 17 00:00:00 2001 From: rl544 <111494264+rl544@users.noreply.github.com> Date: Mon, 9 Mar 2026 12:28:35 +0900 Subject: [PATCH] Create jdk.yml --- .github/workflows/jdk.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/jdk.yml diff --git a/.github/workflows/jdk.yml b/.github/workflows/jdk.yml new file mode 100644 index 0000000..03d39ff --- /dev/null +++ b/.github/workflows/jdk.yml @@ -0,0 +1,34 @@ +name: Docker Image Downloader (Eclipse Temurin) + +on: + workflow_dispatch: + +jobs: + download: + runs-on: ubuntu-latest + steps: + - name: Pull Images + run: | + # Eclipse Temurin 공식 이미지 풀 (JDK와 JRE) + docker pull eclipse-temurin:21-jdk + docker pull eclipse-temurin:21-jre + + - name: Save Images to TAR + run: | + # 두 이미지를 하나의 tar 파일로 묶어서 저장 + docker save eclipse-temurin:21-jdk eclipse-temurin:21-jre -o temurin_images.tar + docker save eclipse-temurin:21-jre -o temurin_images_jre.tar + + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: temurin-images + path: temurin_images.tar + retention-days: 1 + + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: temurin-jre-image + path: temurin_images_jre.tar + retention-days: 1