Bump golang from 7ea4c9d
to 51a6466
in /build
#53
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: Main branch workflow | |
on: | |
push: | |
branches: | |
- main | |
env: | |
IMAGE_ARCHITECTURES: linux/amd64,linux/arm64 | |
IMAGE_REGISTRY: ghcr.io | |
DOCKERFILE_PATH: build/Dockerfile | |
IMAGE_DESCRIPTION: | | |
This Docker image is a CLI tool for evaluating the health and severity of various SSV client related metrics over time. | |
jobs: | |
publish-release: | |
name: Publish Release | |
runs-on: ubuntu-latest | |
outputs: | |
new_tag: ${{ steps.tag_version.outputs.new_tag }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Bump version and push tag | |
id: tag_version | |
uses: mathieudutour/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create a GitHub release | |
uses: ncipollo/release-action@v1 | |
with: | |
tag: ${{ steps.tag_version.outputs.new_tag }} | |
name: Release ${{ steps.tag_version.outputs.new_tag }} | |
body: ${{ steps.tag_version.outputs.changelog }} | |
docker-build-push: | |
uses: ./.github/workflows/docker.yml | |
permissions: | |
id-token: write | |
packages: write | |
contents: read | |
needs: publish-release | |
with: | |
with-push: true | |
image-tag: ${{ needs.publish-release.outputs.new_tag }} |