mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 00:13:15 +01:00
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
name: "Release: version file"
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
inputs:
|
|
version:
|
|
description: release version to update the version file with (prefixed with v)
|
|
required: true
|
|
|
|
workflow_call:
|
|
inputs:
|
|
version:
|
|
type: string
|
|
description: release version to update the version file with (prefixed with v)
|
|
required: true
|
|
secrets:
|
|
TOOLBOX_AWS_ACCESS_KEY_ID:
|
|
required: true
|
|
TOOLBOX_AWS_SECRET_ACCESS_KEY:
|
|
required: true
|
|
|
|
jobs:
|
|
|
|
release:
|
|
runs-on: ubuntu-24.04
|
|
permissions:
|
|
contents: read
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Update version file
|
|
run: make ci-release-version-file
|
|
env:
|
|
RELEASE_VERSION: ${{ github.event.inputs.version }}
|
|
# for updating the VERSION file in S3...
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.TOOLBOX_AWS_ACCESS_KEY_ID }}
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.TOOLBOX_AWS_SECRET_ACCESS_KEY }}
|