Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changes/unreleased/Bugfix-20260225-152411.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
kind: Bugfix
body: Fix release workflow
time: 2026-02-25T15:24:11.332649-05:00
21 changes: 13 additions & 8 deletions src/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,19 @@ builds:
binary: '{{ .ProjectName }}'
archives:
- name_template: '{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}'
dockers:
- image_templates:
- "public.ecr.aws/opslevel/opslevel-runner:latest"
- "public.ecr.aws/opslevel/opslevel-runner:{{ .Tag }}"
build_flag_templates:
- "--label=org.opencontainers.image.created={{ .Date }}"
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
- "--label=org.opencontainers.image.version={{ .Tag }}"
dockers_v2:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new format is much nicer 👍

- images:
- "public.ecr.aws/opslevel/opslevel-runner"
tags:
- "latest"
- "{{ .Tag }}"
platforms:
- linux/amd64
- linux/arm64
labels:
"org.opencontainers.image.created": "{{ .Date }}"
"org.opencontainers.image.revision": "{{ .FullCommit }}"
"org.opencontainers.image.version": "{{ .Tag }}"
brews:
- name: opslevel-runner
homepage: "https://www.opslevel.com/"
Expand Down
3 changes: 2 additions & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM golang:alpine as build
RUN apk --no-cache add ca-certificates

FROM alpine:latest
ARG TARGETPLATFORM
# copy the ca-certificate.crt from the build stage
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY opslevel-runner /opslevel-runner
COPY ${TARGETPLATFORM}/opslevel-runner /opslevel-runner
ENTRYPOINT ["/opslevel-runner"]
Loading