-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feature: update CI versions * fix: change origin repo * feature: pin SHA commits from third-parties * fix: add anaconda to whitelist * fix: do not remove sudo
- Loading branch information
1 parent
e459f11
commit ca24867
Showing
5 changed files
with
87 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
deployment_pypi_environment: ${{ steps.get-environment.outputs.deployment_pypi_environment }} | ||
deployment_url: ${{ steps.get-environment.outputs.deployment_url }} | ||
steps: | ||
- uses: step-security/harden-runner@v2 | ||
- uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 | ||
with: | ||
disable-sudo: true | ||
egress-policy: audit | ||
|
@@ -60,17 +60,17 @@ jobs: | |
permissions: | ||
id-token: write | ||
steps: | ||
- uses: step-security/harden-runner@v2 | ||
- uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 | ||
with: | ||
disable-sudo: true | ||
egress-policy: audit | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0 | ||
id: buildx | ||
|
||
- name: Cache Docker layers | ||
|
@@ -82,7 +82,7 @@ jobs: | |
${{ runner.os }}-buildx-v1.0-service-node- | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v3 | ||
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
@@ -119,7 +119,7 @@ jobs: | |
run: | | ||
echo "deployment_dockerhub_url=https://hub.docker.com/r/pantosio/service-node/tags?name=${{ github.event.release.tag_name }}${{ needs.define-environment.outputs.deployment_environment }}" >> $GITHUB_OUTPUT | ||
- uses: sigstore/cosign-installer@main | ||
- uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # v3.5.0 | ||
|
||
- name: Sign the images | ||
run: | | ||
|
@@ -157,7 +157,7 @@ jobs: | |
contents: write | ||
id-token: write | ||
steps: | ||
- uses: step-security/harden-runner@v2 | ||
- uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 | ||
with: | ||
disable-sudo: true | ||
egress-policy: audit | ||
|
@@ -169,7 +169,7 @@ jobs: | |
|
||
# We need to upload some artifacts, any, so that the download action works | ||
- name: Upload release assets | ||
uses: svenstaro/upload-release-action@v2 | ||
uses: svenstaro/upload-release-action@04733e069f2d7f7f0b4aebc4fbdbce8613b03ccd # v2.9.0 | ||
with: | ||
file: "./dist/*.deb" | ||
file_glob: true | ||
|
@@ -178,7 +178,7 @@ jobs: | |
tag: ${{ github.event.release.tag_name }} | ||
|
||
# We need to upload some artifacts, any, so that the download action works | ||
- uses: robinraju/release-downloader@v1.9 | ||
- uses: robinraju/release-downloader@vc39a3b234af58f0cf85888573d361fb6fa281534 # v1.10 | ||
with: | ||
tag: ${{ github.event.release.tag_name }} | ||
tarBall: true | ||
|
@@ -194,7 +194,7 @@ jobs: | |
# Do not sign deb artifacts | ||
rm release/*.deb | ||
- uses: sigstore/[email protected] | ||
- uses: sigstore/gh-action-sigstore-python@61f6a500bbfdd9a2a339cf033e5421951fbc1cd2 # v2.1.1 | ||
with: | ||
inputs: release/* | ||
|
||
|
@@ -209,7 +209,7 @@ jobs: | |
ls -lha release | ||
- name: Upload release assets | ||
uses: svenstaro/upload-release-action@v2 | ||
uses: svenstaro/upload-release-action@04733e069f2d7f7f0b4aebc4fbdbce8613b03ccd # v2.9.0 | ||
with: | ||
file: "./release/*" | ||
file_glob: true | ||
|
@@ -227,7 +227,7 @@ jobs: | |
permissions: | ||
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing | ||
steps: | ||
- uses: step-security/harden-runner@v2 | ||
- uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 | ||
with: | ||
disable-sudo: true | ||
egress-policy: audit | ||
|
@@ -244,7 +244,7 @@ jobs: | |
ls -lha dist | ||
- name: Publish package distributions to ${{ needs.define-environment.outputs.deployment_pypi_environment }} | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # stable/v1.9.0 | ||
with: | ||
repository-url: ${{ needs.define-environment.outputs.deployment_pypi_environment == 'test-pypi' && 'https://test.pypi.org/legacy/' || 'https://upload.pypi.org/legacy/' }} | ||
|
||
|
@@ -260,7 +260,7 @@ jobs: | |
# Disable the job for the moment being | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: step-security/harden-runner@v2 | ||
- uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 | ||
with: | ||
disable-sudo: true | ||
egress-policy: audit | ||
|
@@ -304,7 +304,7 @@ jobs: | |
working-directory: release | ||
|
||
- name: Import GPG key | ||
uses: crazy-max/ghaction-import-gpg@v6 | ||
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0 | ||
with: | ||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
passphrase: ${{ secrets.GPG_PASSPHRASE }} | ||
|
@@ -331,7 +331,7 @@ jobs: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Publish to GH Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: release | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.