Skip to content

github actions -> release fix #4

github actions -> release fix

github actions -> release fix #4

Workflow file for this run

name: "Release"
on:
push:
tags:
- "v*"
jobs:
create_release:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.version_tag.outputs.tag }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Get Tag
if: startsWith(github.ref, 'refs/tags/v')
uses: olegtarasov/[email protected]
id: version_tag
with:
tagRegex: "v(.*)"
docker:
needs: ['create_release']
uses: "./.github/workflows/docker.yml"
with:
version: ${{ inputs.version }}
secrets:
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
REGISTRY: ${{ secrets.REGISTRY }}
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
build:
needs: ['create_release']
uses: "./.github/workflows/build.yml"
with:
version: ${{ inputs.version }}
latest: true