Skip to content

spelling

spelling #13

Workflow file for this run

name: image
on:
push:
branches:
- main
paths-ignore:
- "charts"
- ".workflows"
permissions:
id-token: write
packages: write
security-events: write
jobs:
ko:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Set up Go
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version-file: backend/go.mod
cache-dependency-path: backend/go.sum
- name: Login
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Install Cosign
uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 # v3.1.1
- name: Build assets
run: |
set -e
make build-backend-assets
- name: Publish image
id: ko-publish
run: |
set -e
echo "digest=$(VERSION=${{ github.ref_name }} make ko-publish)" >> $GITHUB_OUTPUT
- name: Sign image
run: |
set -e
cosign sign ${{ steps.ko-publish.outputs.digest }} --yes