Skip to content

Commit

Permalink
fix: remove goreleaser (#1062)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykzts committed Dec 20, 2023
1 parent 9e1225b commit 33bf0b2
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 132 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/check.yml

This file was deleted.

44 changes: 41 additions & 3 deletions .github/workflows/release-please.yml
Expand Up @@ -2,8 +2,7 @@ name: release-please

on:
push:
branches:
- main
branches: [main]

jobs:
release-please:
Expand All @@ -15,6 +14,45 @@ jobs:
with:
app-id: ${{ secrets.RELEASE_PLEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_PLEASE_PRIVATE_KEY }}
- uses: google-github-actions/release-please-action@v4
- id: release
uses: google-github-actions/release-please-action@v4
with:
token: ${{ steps.generate_token.outputs.token }}
- if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@v4
- if: ${{ steps.release.outputs.release_created }}
name: Set up QEMU
uses: actions/setup-go@v5
with:
go-version: 1.21
- if: ${{ steps.release.outputs.release_created }}
id: meta
name: Docker meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/manaelproxy/manael
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- if: ${{ steps.release.outputs.release_created }}
name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- if:
name: Build and push
uses: docker/build-push-action@v5
with:
context: .
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
push: ${{ steps.release.outputs.release_created }}
74 changes: 0 additions & 74 deletions .github/workflows/release.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .goreleaser.yml

This file was deleted.

0 comments on commit 33bf0b2

Please sign in to comment.