Merge 0ff58c356bd366fe2cea1cf03f0cded79d025472 into c4b847329c274e912… #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
workflow_dispatch: | |
workflow_call: | |
inputs: | |
tag: | |
required: true | |
type: string | |
description: "The tag to release" | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
env: | |
RELEASE_REF: ${{ github.event_name == 'push' && github.ref || inputs.tag }} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ env.RELEASE_REF }} | |
- name: Create Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
draft: true | |
tag_name: ${{ env.RELEASE_REF }} | |
files: | | |
dist/docker-scout_* |