Skip to content

Commit db9c5ba

Browse files
committed
ci: Remove duplicate release job from CI workflow
The release job in ci.yml was redundant with release.yml and lacked Docker login, causing failures on tag pushes. Release workflow already handles all release functionality properly.
1 parent 2d2f269 commit db9c5ba

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: CI
33
on:
44
push:
55
branches: [main]
6-
tags:
7-
- 'v*'
86
pull_request:
97
branches: [main]
108

@@ -50,31 +48,6 @@ jobs:
5048
with:
5149
version: latest
5250

53-
release:
54-
needs: [test, lint]
55-
runs-on: ubuntu-latest
56-
if: startsWith(github.ref, 'refs/tags/v')
57-
permissions:
58-
contents: write
59-
steps:
60-
- uses: actions/checkout@v4
61-
with:
62-
fetch-depth: 0
63-
64-
- name: Set up Go
65-
uses: actions/setup-go@v5
66-
with:
67-
go-version: '1.21'
68-
69-
- name: Run GoReleaser
70-
uses: goreleaser/goreleaser-action@v6
71-
with:
72-
distribution: goreleaser
73-
version: '~> v2'
74-
args: release --clean
75-
env:
76-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77-
7851
build:
7952
needs: [test, lint]
8053
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)