Skip to content

Commit 77d8cc7

Browse files
committed
chore: push latest tag only on main
Otherwise we push latest from `release-*` branches which makes it confusing and broken, as it jumps between versions. Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
1 parent 59d9b1c commit 77d8cc7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2025-10-15T17:53:19Z by kres 7a9d88c.
3+
# Generated on 2025-10-16T09:22:23Z by kres 7a9d88c.
44

55
concurrency:
66
group: ${{ github.head_ref || github.run_id }}
@@ -5048,7 +5048,7 @@ jobs:
50485048
run: |
50495049
make push
50505050
- name: push-latest
5051-
if: '!startsWith(github.ref, ''refs/tags/'')'
5051+
if: github.ref == 'refs/heads/main'
50525052
env:
50535053
PLATFORM: linux/amd64,linux/arm64
50545054
run: |

.kres.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ spec:
157157
environment:
158158
PLATFORM: linux/amd64,linux/arm64
159159
conditions:
160-
- not-on-tag
160+
- only-on-main-branch
161161
- name: tag
162162
sops: true
163163
buildxOptions:

0 commit comments

Comments
 (0)