Skip to content

Update docs to clarify file extensions for gpg key file names #20

Update docs to clarify file extensions for gpg key file names

Update docs to clarify file extensions for gpg key file names #20

Workflow file for this run

name: Release
concurrency:
group: release-${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
on:
push:
tags:
- 'v[0-9]+.[0-9]+.*'
permissions:
contents: read
packages: write
jobs:
tagList:
runs-on: ubuntu-latest
outputs:
tags: ${{ steps.tags.outputs.OUTPUT_TAGS }}
steps:
- name: Get image tag list
id: tags
run: |
set -eux -o pipefail
# Remove leading "v" from tag name
TRIMMED_REF_NAME="${REF_NAME#v}"
# Creates a comma separated list of tags
# - latest
# - <major>.<minor>
# - <major>.<minor>.<patch>
OUTPUT_TAGS="latest,${TRIMMED_REF_NAME%.*},${TRIMMED_REF_NAME}"
echo "OUTPUT_TAGS=${OUTPUT_TAGS}" >> "$GITHUB_OUTPUT" && cat "$GITHUB_OUTPUT"
env:
REF_NAME: ${{ github.ref_name }}
shell: bash
build:
needs: tagList
uses: ./.github/workflows/frontend-image.yml
with:
tag: ${{needs.tagList.outputs.tags}}