Skip to content

Commit

Permalink
ci: use almalinux9-minimal images for rpm signing
Browse files Browse the repository at this point in the history
  • Loading branch information
kofemann committed Sep 7, 2023
1 parent 3567dde commit 560dce6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ container:
sign_rpm:
stage: sign
image: almalinux:8
image: almalinux:9-minimal
needs: ["rpm"]
script:
- dnf install -y rpm-sign
- microdnf install -y rpm-sign
- echo $DCACHE_ORG_PGP_KEY | base64 -d -i > secret.gpg
- gpg --quiet --batch --yes --allow-secret-key-import --passphrase="$DCACHE_ORG_PGP_KEY_PASS" --import secret.gpg
- gpg -a --export "$DCACHE_ORG_KEY_NAME" > RPM-GPG-KEY
Expand All @@ -180,10 +180,10 @@ sign_rpm:

sign_srm_client_rpm:
stage: sign
image: almalinux:8
image: almalinux:9-minimal
needs: ["srm_client_rpm"]
script:
- dnf install -y rpm-sign
- microdnf install -y rpm-sign
- echo $DCACHE_ORG_PGP_KEY | base64 -d -i > secret.gpg
- gpg --quiet --batch --yes --allow-secret-key-import --passphrase="$DCACHE_ORG_PGP_KEY_PASS" --import secret.gpg
- gpg -a --export "$DCACHE_ORG_KEY_NAME" > RPM-GPG-KEY
Expand Down

0 comments on commit 560dce6

Please sign in to comment.