fix: fixes webhook for ECDSA types #23
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: CI | |
on: push | |
jobs: | |
release-please: | |
name: Release Please | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' | |
outputs: | |
release_created: ${{ steps.release-please.outputs.release_created }} | |
tag_name: ${{ steps.release-please.outputs.tag_name }} | |
version: ${{ steps.version.outputs.version }} | |
steps: | |
- uses: google-github-actions/release-please-action@v3 | |
id: release-please | |
with: | |
command: manifest | |
- if: ${{ steps.release-please.outputs.release_created }} | |
id: version | |
name: Get raw version value from tag | |
run: |- | |
TAG="${{ steps.release-please.outputs.tag_name }}" | |
echo "version=${TAG/v/}" >> $GITHUB_OUTPUT | |
build: | |
name: Build and Publish | |
runs-on: ubuntu-latest | |
needs: [release-please] | |
if: ${{ needs.release-please.outputs.release_created }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- run: | | |
make save-manifests docker-build docker-push IMG=ghcr.io/krystal/generated-secrets:${{ needs.release-please.outputs.version }} | |
- env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
gh release upload ${{ needs.release-please.outputs.tag_name }} manifest.yaml |