Skip to content

Commit d0f8ba6

Browse files
authored
use correct base image (#56)
1 parent 414a016 commit d0f8ba6

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.goreleaser.docker.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@ dockers:
3232
image_templates:
3333
- "ghcr.io/conductorone/baton-github:{{ .Version }}-arm64"
3434
- "ghcr.io/conductorone/baton-github:latest-arm64"
35+
build_flag_templates:
36+
- "--platform=linux/arm64/v8"
37+
- "--label=org.opencontainers.image.created={{.Date}}"
38+
- "--label=org.opencontainers.image.title={{.ProjectName}}"
39+
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
40+
- "--label=org.opencontainers.image.version={{.Version}}"
41+
- use: buildx
42+
goos: linux
43+
goarch: arm64
44+
dockerfile: Dockerfile.lambda
45+
image_templates:
3546
- "168442440833.dkr.ecr.us-west-2.amazonaws.com/baton-github:{{ .Version }}-arm64"
3647
build_flag_templates:
3748
- "--platform=linux/arm64/v8"
@@ -48,7 +59,7 @@ docker_manifests:
4859
image_templates:
4960
- ghcr.io/conductorone/baton-github:latest-amd64
5061
- ghcr.io/conductorone/baton-github:latest-arm64
51-
- name_template: 168442440833.dkr.ecr.us-west-2.amazonaws.com/baton-github:{{ .Version }}
62+
- name_template: 168442440833.dkr.ecr.us-west-2.amazonaws.com/baton-github:{{ .Version }}-arm64
5263
image_templates:
5364
- 168442440833.dkr.ecr.us-west-2.amazonaws.com/baton-github:{{ .Version }}-arm64
5465
checksum:

Dockerfile.lambda

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM public.ecr.aws/lambda/provided:al2023
2+
ENTRYPOINT ["./baton-github", "lambda"]
3+
COPY baton-github /

0 commit comments

Comments
 (0)