Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
fix(): removed goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
le-vlad committed Nov 29, 2023
1 parent 932a395 commit 47744ed
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Create release
on:
release:
types: [published]
push:
branches:
- main

jobs:
build_release:
runs-on: ubuntu-latest
Expand All @@ -13,17 +15,12 @@ jobs:
with:
go-version: '1.21.3'

- name: "Install confluent Kafka-Go"
run: go get gopkg.in/confluentinc/confluent-kafka-go.v1/kafka
- name: "Create and push tag"
run: |
go install github.com/caarlos0/svu@latest
git tag svu next
git push --tags
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
Expand All @@ -42,5 +39,5 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: ${{ github.event.release.tag_name }}
labels: ${{ github.event.release.tag_name }}
tags: ${{ steps.generate_next_version.outputs.version }}
labels: ${{ steps.generate_next_version.outputs.version }}

0 comments on commit 47744ed

Please sign in to comment.