Skip to content

Commit 09ecfd4

Browse files
committed
fix: use Docker for createrepo_c in RPM publishing workflow
1 parent c2d604b commit 09ecfd4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,11 @@ jobs:
7575
env:
7676
GITHUB_TOKEN: ${{ secrets.CLI_RELEASE }}
7777
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
78-
- name: Install createrepo_c
79-
run: brew install createrepo_c
78+
- name: Verify Docker is available
79+
run: |
80+
# Docker should already be available on macOS runners
81+
docker --version
82+
echo "Docker is available for createrepo_c operations"
8083
- name: Publish packages to APT repo
8184
if: contains(github.ref_name, '-') == false
8285
env:

scripts/publish-rpm-packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ aws s3 sync s3://${RPM_BUCKET_NAME}/${RPM_REPO_PATH}/RPMS/ ${TEMP_DIR}/rpm-repo/
3333
printf "\n>>> Adding new packages to local repo \n"
3434
cp ${GORELEASER_PACKAGES_FOLDER}/*.rpm ${TEMP_DIR}/rpm-repo/RPMS/
3535

36-
# Create RPM repository metadata using createrepo_c
36+
# Create RPM repository metadata using createrepo_c in Docker
3737
printf "\n>>> Creating RPM repository metadata \n"
3838
docker run --rm \
3939
-v "${TEMP_DIR}/rpm-repo:/repo" \

0 commit comments

Comments
 (0)