feat: adjust action to new binary
All checks were successful
Release Secrets Manager Action / build (push) Successful in 42s

This commit is contained in:
Timo Bergen 2025-07-07 21:58:53 +02:00
parent cc0c27a4e9
commit 96232d6de3
2 changed files with 12 additions and 17 deletions

View file

@ -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