Compare commits

..

1 Commits

Author SHA1 Message Date
d6bcb19d42 chore(deps): update dependency docker/compose to v2.40.2
Some checks failed
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Build / build-amd64 (pull_request) Successful in 2m38s
Build / build-arm64 (pull_request) Successful in 7m39s
Auto release / tag_on_change (push) Failing after 6s
Build / build-amd64 (push) Successful in 2m25s
Lint Markdown files / markdown-lint (push) Successful in 5s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 4s
Build / build-arm64 (push) Successful in 7m6s
2025-10-22 23:14:49 +02:00
3 changed files with 15 additions and 33 deletions

View File

@@ -14,7 +14,6 @@ jobs:
tag_on_change:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5.0.0
@@ -39,7 +38,6 @@ jobs:
run: echo "No DC_VERSION change. Exiting..."
- name: Create and push new tag
id: create_tag
if: steps.check_change.outputs.changed == 'true'
run: |
defined_tag="$(grep --only-matching --perl-regexp 'DC_VERSION\?=v?[\d]*(\.[\d]*){0,2}' Makefile | cut --delimiter='=' --fields=2)"
@@ -53,19 +51,13 @@ jobs:
git push origin "${defined_tag}"
- name: Trigger "Push tagged images" workflow
uses: actions/github-script@v8.0.0
if: steps.check_change.outputs.changed == 'true'
uses: peter-evans/repository-dispatch@v4.0.0
with:
script: |
const workflowFileName = 'release.yaml';
const defaultBranch = context.payload.repository.default_branch;
const definedTag = '${{ steps.create_tag.outputs.defined_tag }}';
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: workflowFileName,
ref: defaultBranch,
inputs: {
tag: definedTag
}
});
client-payload: |
{
"tag": "${{ steps.bump.outputs.defined_tag }}"
}
event-type: push-tagged-images
repository: ${{ github.repository }}
token: ${{ github.token }}

View File

@@ -1,8 +1,5 @@
name: Build
env:
GOPROXY: ${{ var.GOPROXY }}
on:
pull_request:
types:

View File

@@ -1,18 +1,11 @@
name: Release
env:
GOPROXY: ${{ var.GOPROXY }}
on:
push:
tags:
- "**"
workflow_dispatch:
inputs:
tag:
description: "Tag which should be released"
type: string
required: true
repository_dispatch:
types: [ push-tagged-images ]
jobs:
push-arm64:
@@ -21,7 +14,7 @@ jobs:
- id: version_extraction
name: Extract git tag
run: |
VERSION="${{ inputs.tag || github.ref_name }}"
VERSION="${{ github.event.client_payload.tag || github.ref_name }}"
VERSION="${VERSION#refs/*/}"
echo "Version: ${VERSION}"
echo "version=${VERSION}" >> $GITHUB_OUTPUT
@@ -59,7 +52,7 @@ jobs:
- id: version_extraction
name: Extract git tag
run: |
VERSION="${{ inputs.tag || github.ref_name }}"
VERSION="${{ github.event.client_payload.tag || github.ref_name }}"
VERSION="${VERSION#refs/*/}"
echo "Version: ${VERSION}"
echo "version=${VERSION}" >> $GITHUB_OUTPUT
@@ -100,7 +93,7 @@ jobs:
- id: version_extraction
name: Extract git tag
run: |
VERSION="${{ inputs.tag || github.ref_name }}"
VERSION="${{ github.event.client_payload.tag || github.ref_name }}"
VERSION="${VERSION#refs/*/}"
echo "Version: ${VERSION}"
echo "version=${VERSION}" >> $GITHUB_OUTPUT
@@ -127,7 +120,7 @@ jobs:
- id: version_extraction
name: Extract git tag
run: |
VERSION="${{ inputs.tag || github.ref_name }}"
VERSION="${{ github.event.client_payload.tag || github.ref_name }}"
VERSION="${VERSION#refs/*/}"
echo "Version: ${VERSION}"
echo "version=${VERSION}" >> $GITHUB_OUTPUT