You've already forked docker-compose-docker
fix(ci): enable auto-release workflow
This commit is contained in:
@@ -4,8 +4,12 @@ on:
|
||||
push:
|
||||
tags:
|
||||
- "**"
|
||||
repository_dispatch:
|
||||
types: [ push-tagged-images ]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tag:
|
||||
description: "Tag which should be released"
|
||||
type: string
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
push-arm64:
|
||||
@@ -14,7 +18,7 @@ jobs:
|
||||
- id: version_extraction
|
||||
name: Extract git tag
|
||||
run: |
|
||||
VERSION="${{ github.event.client_payload.tag || github.ref_name }}"
|
||||
VERSION="${{ inputs.tag || github.ref_name }}"
|
||||
VERSION="${VERSION#refs/*/}"
|
||||
echo "Version: ${VERSION}"
|
||||
echo "version=${VERSION}" >> $GITHUB_OUTPUT
|
||||
@@ -52,7 +56,7 @@ jobs:
|
||||
- id: version_extraction
|
||||
name: Extract git tag
|
||||
run: |
|
||||
VERSION="${{ github.event.client_payload.tag || github.ref_name }}"
|
||||
VERSION="${{ inputs.tag || github.ref_name }}"
|
||||
VERSION="${VERSION#refs/*/}"
|
||||
echo "Version: ${VERSION}"
|
||||
echo "version=${VERSION}" >> $GITHUB_OUTPUT
|
||||
@@ -93,7 +97,7 @@ jobs:
|
||||
- id: version_extraction
|
||||
name: Extract git tag
|
||||
run: |
|
||||
VERSION="${{ github.event.client_payload.tag || github.ref_name }}"
|
||||
VERSION="${{ inputs.tag || github.ref_name }}"
|
||||
VERSION="${VERSION#refs/*/}"
|
||||
echo "Version: ${VERSION}"
|
||||
echo "version=${VERSION}" >> $GITHUB_OUTPUT
|
||||
@@ -120,7 +124,7 @@ jobs:
|
||||
- id: version_extraction
|
||||
name: Extract git tag
|
||||
run: |
|
||||
VERSION="${{ github.event.client_payload.tag || github.ref_name }}"
|
||||
VERSION="${{ inputs.tag || github.ref_name }}"
|
||||
VERSION="${VERSION#refs/*/}"
|
||||
echo "Version: ${VERSION}"
|
||||
echo "version=${VERSION}" >> $GITHUB_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user