-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update workflows to go-auto-release * Update workflows to go-auto-release * Update workflows to go-auto-release * Update workflows to go-auto-release * Update workflows to go-auto-release * Update workflows to go-auto-release * Update workflows to go-auto-release * Update workflows to go-auto-release * Update workflows to go-auto-release * Update workflows to go-auto-release * Update workflows to go-auto-release
- Loading branch information
Showing
7 changed files
with
91 additions
and
130 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Docker Promote | ||
|
||
on: | ||
push: | ||
tags: | ||
- "*" | ||
|
||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
ci-docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: cloudposse/github-action-docker-promote@0.3.0 | ||
id: promote | ||
with: | ||
registry: ghcr.io | ||
organization: "${{ github.event.repository.owner.login }}" | ||
repository: "${{ github.event.repository.name }}" | ||
login: "${{ github.actor }}" | ||
password: "${{ secrets.GITHUB_TOKEN }}" | ||
platforms: linux/amd64,linux/arm64 | ||
from: sha-${{ github.sha }} | ||
to: ${{ github.event.release.tag_name }} | ||
use_metadata: false |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,15 @@ | ||
name: Release | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
release: | ||
types: | ||
- published | ||
|
||
permissions: | ||
contents: write | ||
types: [published] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
permissions: {} | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.20' | ||
concurrency: | ||
group: ${{ github.workflow }} | ||
cancel-in-progress: false | ||
|
||
- name: Public Release | ||
uses: goreleaser/goreleaser-action@v4 | ||
with: | ||
distribution: goreleaser | ||
version: latest | ||
args: release --clean | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
jobs: | ||
perform: | ||
uses: cloudposse/.github/.github/workflows/shared-release-branches.yml@main | ||
secrets: inherit |
File renamed without changes.