Update rpms.yml

This commit is contained in:
rl544
2026-03-04 15:33:50 +09:00
committed by GitHub
parent 10384c290d
commit 8b7cadfd81
+10 -17
View File
@@ -1,29 +1,22 @@
name: Download RHEL 10 CIFS RPMs name: Download RHEL CIFS RPMs
on: on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
extract-rhel-rpms: extract-rpms:
# 실행 서버는 GitHub 제공 서버를 쓰되
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Create Local Directory - name: Create Directory
run: mkdir -p ./rhel10_rpms run: mkdir -p rhel_rpms
- name: Run RHEL Container and Download - name: Download RPMs from RHEL UBI
run: | run: |
# RHEL 9/10 호환 이미지를 실행하여 RHEL용 패키지를 다운로드합니다. docker run --rm -v ${{ github.workspace }}/rhel_rpms:/downloads ://registry.access.redhat.com bash -c "dnf install -y 'dnf-command(download)' && dnf download --resolve --alldeps --destdir=/downloads cifs-utils"
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 - name: Upload Artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: rhel10-cifs-package-bundle name: rhel-cifs-package-bundle
path: rhel10_rpms/ path: rhel_rpms/
retention-days: 1