Skip to content

Commit

Permalink
WIP - publisher and releaser only make sense on a new tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpromislow committed May 16, 2024
1 parent c4faafe commit 7e1b505
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name : Publish Webhook Images

on:
push:
pull_request:
tags:
- "*"

env:
REGISTRY: docker.io
Expand Down
25 changes: 13 additions & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@ name: goreleaser

on:
push:
pull_request:
tags:
- '*'

permissions:
contents: write

jobs:
ci:
runs-on : ubuntu-latest
goreleaser:
runs-on: ubuntu-latest
steps:
- name : Checkout repository
uses : actions/checkout@v4
with :
fetch-depth : 0
- name : build
run : make build
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: build
run: make build
#uses: ./.github/workflows/ci.yaml
permissions:
contents: read
Expand All @@ -33,9 +34,9 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: 1.22
- name : Package release helm charts
run : make package-helm
- run : mkdir -p ./build/artifacts/ && mv -v ./dist/artifacts/ ./build/
- name: Package release helm charts
run: make package-helm
- run: mkdir -p ./build/artifacts/ && mv -v ./dist/artifacts/ ./build/
- uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
Expand Down

0 comments on commit 7e1b505

Please sign in to comment.