Skip to content

Commit 46a57ea

Browse files
committed
chore: move away from Docker desktop for Mac to lima/nerdctl
1 parent e926bcd commit 46a57ea

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎.goreleaser.yml‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ builds:
2222
signs:
2323
- artifacts: checksum
2424

25-
dockers:
26-
- image_templates:
27-
- adrianhesketh/ddbimport
28-
2925
archives:
3026
- format: binary
3127

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ FROM alpine:latest
22

33
RUN apk --no-cache add ca-certificates
44

5-
COPY ddbimport /ddbimport
5+
COPY ./dist/ddbimport_linux_amd64 /ddbimport
66

77
CMD ["./ddbimport"]

‎Makefile‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ release:
99
if [ "${GITHUB_TOKEN}" == "" ]; then echo "Set the GITHUB_TOKEN environment variable"; fi
1010
./push-tag.sh
1111
goreleaser --rm-dist
12+
13+
docker-push: release
14+
lima nerdctl build -t adrianhesketh/ddbimport:latest .
15+
pass hub.docker.com/adrianhesketh | lima nerdctl login --username adrianhesketh --password-stdin
16+
lima nerdctl push adrianhesketh/ddbimport:latest

0 commit comments

Comments
 (0)