use annotated tags, update chronicle, fix cache keys (#2154)

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
Alex Goodman
2023-09-20 10:11:44 -04:00
committed by GitHub
parent 650f71cbe0
commit 40899adb87
3 changed files with 8 additions and 9 deletions
+3 -4
View File
@@ -10,9 +10,6 @@ on:
description: tag the latest commit on main with the given version (prefixed with v)
required: true
env:
GO_VERSION: "1.21.x"
jobs:
quality-gate:
environment: release
@@ -123,7 +120,9 @@ jobs:
- name: Tag release
run: |
git tag ${{ github.event.inputs.version }}
git config --global user.name "anchoreci"
git config --global user.email "anchoreci@users.noreply.github.com"
git tag -a ${{ github.event.inputs.version }} -m "Release ${{ github.event.inputs.version }}"
git push origin --tags
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}