feat: adjust action to new binary
All checks were successful
Release Secrets Manager Action / build (push) Successful in 42s
All checks were successful
Release Secrets Manager Action / build (push) Successful in 42s
This commit is contained in:
parent
cc0c27a4e9
commit
96232d6de3
2 changed files with 12 additions and 17 deletions
26
action.yml
26
action.yml
|
|
@ -24,6 +24,10 @@ inputs:
|
|||
description: Turn on debugging logs.
|
||||
required: false
|
||||
default: false
|
||||
version:
|
||||
description: The version of the action.
|
||||
required: false
|
||||
default: 'v0'
|
||||
|
||||
outputs:
|
||||
secrets:
|
||||
|
|
@ -32,23 +36,12 @@ outputs:
|
|||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: ${{ inputs.go_version }}
|
||||
|
||||
- name: Check out action code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: actions/secretsmanager
|
||||
ref: main
|
||||
github-server-url: https://stackit-solutions.git.onstackit.cloud
|
||||
|
||||
- name: Run Vault Fetcher and set output
|
||||
- name: Run SecretsManager Action
|
||||
id: secrets
|
||||
run: |
|
||||
go mod tidy
|
||||
go run main.go >> $GITHUB_OUTPUT
|
||||
wget ${{ env.ACTION_URL }}/releases/download/${{ inputs.version }}/action-secretsmanager
|
||||
chmod +x action-secretsmanager
|
||||
./action-secretsmanager >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
env:
|
||||
VAULT_ADDR: ${{ inputs.vault_addr }}
|
||||
|
|
@ -56,4 +49,5 @@ runs:
|
|||
VAULT_USERNAME: ${{ inputs.vault_username }}
|
||||
VAULT_PASSWORD: ${{ inputs.vault_password }}
|
||||
VAULT_PATH: ${{ inputs.vault_path }}
|
||||
DEBUG: ${{ inputs.debug }}
|
||||
DEBUG: ${{ inputs.debug }}
|
||||
ACTION_URL: https://stackit-solutions.git.onstackit.cloud/actions/secretsmanager
|
||||
Loading…
Add table
Add a link
Reference in a new issue