Update LICENSE to BSL #30
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
--- | |
name: Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- id: release-please | |
name: Release Please | |
uses: google-github-actions/release-please-action@v3 | |
with: | |
release-type: go | |
package-name: endpoint-controller | |
changelog-types: >- | |
[ | |
{"type":"feat","section":"Features","hidden":false}, | |
{"type":"fix","section":"Bug Fixes","hidden":false}, | |
{"type":"chore","section":"Miscellaneous","hidden":true} | |
] | |
- name: Checkout | |
uses: actions/checkout@v3 | |
if: steps.release-please.outputs.release_created | |
with: | |
fetch-depth: 0 | |
- name: Setup ssh-agent | |
uses: webfactory/[email protected] | |
if: steps.release-please.outputs.release_created | |
with: | |
ssh-private-key: ${{ secrets.EC_DEPLOY_KEY }} | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
if: steps.release-please.outputs.release_created | |
with: | |
go-version-file: go.mod | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
if: steps.release-please.outputs.release_created | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
if: steps.release-please.outputs.release_created | |
- name: Log in to the Container registry | |
uses: docker/login-action@v2 | |
if: steps.release-please.outputs.release_created | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run GoReleaser | |
if: steps.release-please.outputs.release_created | |
run: make release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |