Files
Docker-Image-Downloader/.github/workflows/rpms.yml
T
2026-03-04 15:30:43 +09:00

30 lines
880 B
YAML

name: Download RHEL 10 CIFS RPMs
on:
workflow_dispatch:
jobs:
extract-rhel-rpms:
# 실행 서버는 GitHub 제공 서버를 쓰되
runs-on: ubuntu-latest
steps:
- name: Create Local Directory
run: mkdir -p ./rhel10_rpms
- name: Run RHEL Container and Download
run: |
# RHEL 9/10 호환 이미지를 실행하여 RHEL용 패키지를 다운로드합니다.
docker run --rm \
-v ${{ github.workspace }}/rhel10_rpms:/mnt/rpms \
://registry.access.redhat.com \
bash -c "
dnf install -y 'dnf-command(download)' && \
dnf download --resolve --alldeps --destdir=/mnt/rpms cifs-utils
"
- name: Upload RHEL RPMs
uses: actions/upload-artifact@v4
with:
name: rhel10-cifs-package-bundle
path: rhel10_rpms/