mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
* slim down docker cache size Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * remove old centos images Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * troubleshoot test failure Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * fix wget version ref Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * refactor caching mechanisms Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * add cache cleanup steps Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * simplify deleting cache Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * fix first clone issue Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * add tool dep Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> --------- Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
32 lines
857 B
YAML
32 lines
857 B
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
|
|
|
|
jobs:
|
|
|
|
release:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7
|
|
|
|
- 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 }}
|