Skip to content

Commit

Permalink
feat(ci): Add go-semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
gianklug authored Nov 30, 2022
1 parent 4d6c07a commit a5a0666
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/go-semantic-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Semantic Release


on:
push:
branches: [ "main" ]

env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
id-token: write

steps:
- uses: actions/checkout@master
- uses: go-semantic-release/action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a5a0666

Please sign in to comment.