Skip to content

chore: update gorelease to v2 #14

chore: update gorelease to v2

chore: update gorelease to v2 #14

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
branches:
- "*"
- "!main"
paths-ignore:
- "**/.md"
env:
REGISTRY_IMAGE: ghcr.io/krzko/otelgen
jobs:
build:
permissions:
contents: read
packages: write
attestations: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build only
run: |
docker buildx build \
--platform linux/amd64 \
-t ${{ env.REGISTRY_IMAGE }}:${{ github.sha }} \
.