Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/auto-create-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ jobs:

- name: Install Docker Buildx
uses: docker/setup-buildx-action@v3
with:
install: true

- name: Install QEMU
uses: docker/setup-qemu-action@v3
Expand Down
23 changes: 18 additions & 5 deletions .github/workflows/auto-create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@ on:
push:
branches:
- release/**
workflow_dispatch:

permissions:
contents: write
packages: write

jobs:
release:
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release/')
if: >-
github.event_name == 'workflow_dispatch' ||
(github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release/'))
name: Create Release
runs-on: ubuntu-24.04-arm
steps:
Expand All @@ -35,13 +38,23 @@ jobs:
run: |
task lint
task git:set-config
task version:tag-release
echo "REL_VERSION=$(task version:get)" >> "$GITHUB_OUTPUT"
REL_VERSION="$(task version:get)"
echo "REL_VERSION=${REL_VERSION}" >> "$GITHUB_OUTPUT"

full_remote_sha="$(git ls-remote --tags origin "refs/tags/${REL_VERSION}" 2>/dev/null | awk '{print $1}' || true)"
if [ -n "${full_remote_sha}" ]; then
if [ "${GITHUB_EVENT_NAME}" = "workflow_dispatch" ]; then
echo "ℹ️ INFO: Full tag '${REL_VERSION}' already exists; skipping tag creation."
else
echo "❌ ERROR: Full tag '${REL_VERSION}' already exists; aborting" >&2
exit 1
fi
else
task version:tag-release
fi

- name: Install Docker Buildx
uses: docker/setup-buildx-action@v3
with:
install: true

- name: Install QEMU
uses: docker/setup-qemu-action@v3
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/cron-check-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:

- name: Install Docker Buildx
uses: docker/setup-buildx-action@v3
with:
install: true

- name: Install QEMU
uses: docker/setup-qemu-action@v3
Expand Down
1 change: 0 additions & 1 deletion Taskfile.cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ tasks:
- task version:set VERSION=v{{.NEXT_MAJOR}}.0.0

version:tag-release:
internal: true
desc: Create set of git tags
cmds:
- |
Expand Down