Skip to content

Commit

Permalink
fix: github actions secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
pipinet committed Sep 9, 2024
1 parent 0dc09da commit f49794c
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,10 @@ jobs:
- name: publish
run: |
earthly --ci --allow-privileged --push \
+ci-publish \
earthly --ci --allow-privileged --push +ci-publish \
--PIPELINE_ID=${{ env.PIPELINE_ID }} \
--MAVEN_SONATYPE_USERNAME=${{ secrets.MAVEN_SONATYPE_USERNAME }} \
--MAVEN_SONATYPE_PASSWORD=${{ secrets.MAVEN_SONATYPE_PASSWORD }} \
--MAVEN_GPG_PRIVATE_KEY=${MAVEN_GPG_PRIVATE_KEY} \
--MAVEN_GPG_PRIVATE_KEY_PASSWORD=${MAVEN_GPG_PRIVATE_KEY_PASSWORD}
env:
MAVEN_GPG_PRIVATE_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
MAVEN_GPG_PRIVATE_KEY_PASSWORD: ${{ secrets.MAVEN_GPG_PRIVATE_KEY_PASSWORD }}
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ ARG --global APP_BASE_VERSION=$(cat .version | head -1)
ARG --global APP_VERSION=${APP_BASE_VERSION}.${PIPELINE_ID}
ARG --global MAVEN_SONATYPE_USERNAME
ARG --global MAVEN_SONATYPE_PASSWORD
ARG --global MAVEN_GPG_PRIVATE_KEY
ARG --global MAVEN_GPG_PRIVATE_KEY_PASSWORD

build-base:
Expand All @@ -29,6 +28,7 @@ check:
publish:
FROM +build-base
COPY . .
RUN export MAVEN_GPG_PRIVATE_KEY=$(cat ./maven_private_key)
RUN gradle publishAllPublicationsToCentralPortal --no-parallel --no-daemon

Check failure on line 32 in Earthfile

View workflow job for this annotation

GitHub Actions / commit

Error

The command RUN gradle publishAllPublicationsToCentralPortal --no-parallel --no-daemon did not complete successfully. Exit code 1

ci-check:
Expand Down
107 changes: 107 additions & 0 deletions maven_private_key
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
-----BEGIN PGP PRIVATE KEY BLOCK-----

lQdGBGbO9WcBEACj5oLhhsaAj41IHgVvnnOVibLI7Ln0uUT/wvxN3ERal3PTGhUm
FwNme36VabL8MlYKDLX3Nj/gvN+K4RwM2nMfuOr+NDTPpdxiMU5F+x/IB+5FrfZ+
oIsQvf+PIUgU4y1cbgh3FaCMLflKCDxWggJJ3KMItFz2+oAu4y/O2yBJmVYdBdt2
lhmwhW0z4/tf7TL4mMEt/U9MGKcb1hjK8Nc0hfgduhaww+0Xd5FeQA3isrcCbRtO
VNyaQcaBS3Lw34OAeBl0v9IpNHN3jI5odkdcynlaYRw2aU1gCw0jMx84ffZ1URk5
2v78PB1zpq3yXsVrw1ELkTtYwDbf2lZE/DSNeeUO3hcHi3SbzrwX+BRaiOHGXczI
/tXVuNJoeKEZiG8l5HytLUcY2widCampkNdRUEXDNSHp5z3YhWkeRLjpyPh9JZog
1ZH7uHDi8WBOQ8iBZpvon+Qq4Q4WGBmOpbA/UpYbgGC1kSPKrU/egzg6tByAwMEn
CtoSwRTdNDlZ6OzvakvN7K8x4tZ1bcy20C2pac9+3rLfYuojA9lyQL0SpjJcYafQ
VUihPzSTQd92cLfMFB/6BT82a1JasWdWmTF3loKdlgrtBVIa5qjugs8Te7EZdK0d
su2ZxZ7cf8RqdVR2GhUB62zB+jF7+sBNEfNXPTSMwlwOtRXhZvyoDuB5WQARAQAB
/gcDAiRjyxo2bJnV9L/4KrlawTynQknzviIw2LGTJWd1DQjK1nLVtUSyflLKqSeL
kyS3dSBbEApaKyTRejZ59ZlNjCeu3ZL6yQGwYKa/3pIbjCd7oE0CUkn1mIif+f/Z
BOxHiAqOXsYKuCP/Y7vfhWphfbKSj+XG2d7YOKbDb0XKRKhqRcipGd+ZxDn73pxI
GJW6kKp2UZ9L1eCMvVK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