Setup SOPS
ActionsTags
(2)Setup SOPS is a GitHub action that provides a cross-platform interface for setting up SOPS in GitHub Actions runners.
The following inputs are supported.
- name: Setup SOPS
uses: nhedger/setup-sops@v1
with:
# The version of SOPS to install.
# This input is optional and defaults to "latest".
# Example values: "3.7.3", "latest"
version: "latest"
# The GitHub token to use to authenticate GitHub API requests.
# This input is optional and defaults to the job's GitHub token.
# Example value: ${{ secrets.GITHUB_TOKEN }}
token: ${{ github.token }}
Setup the latest version of SOPS.
- name: Setup SOPS
uses: nhedger/setup-sops@v1
- name: Run SOPS
run: sops --version
Install version 3.7.3
of SOPS.
- name: Setup SOPS
uses: nhedger/setup-sops@v1
with:
version: 3.7.3
- name: Run SOPS
run: sops --version
The scripts and documentation in this project are licensed under the MIT License.
Setup SOPS is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.