Skip to content

Commit cb88327

Browse files
authored
Renovation Alpine 3.18 and ARM32 builds (#81)
* Upgrade Alpine base 3.18, and dont cache apk * Add arm32v6 and arm32v7 builds. * Add noop test target to Makefile
1 parent 37967ed commit cb88327

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/build-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,6 @@ jobs:
110110
push: ${{ github.event_name != 'pull_request' }}
111111
cache-from: type=gha
112112
cache-to: type=gha,mode=max
113-
platforms: linux/amd64,linux/arm64
113+
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
114114
tags: ${{ steps.meta.outputs.tags }}
115115
labels: ${{ steps.meta.outputs.labels }}

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
FROM alpine:3.14
1+
FROM alpine:3.18
22

33
RUN apk update && \
4-
apk add bash git openssh rsync augeas shadow rssh && \
4+
apk add --no-cache bash git openssh rsync augeas shadow rssh && \
55
deluser $(getent passwd 33 | cut -d: -f1) && \
66
delgroup $(getent group 33 | cut -d: -f1) 2>/dev/null || true && \
77
mkdir -p ~root/.ssh /etc/authorized_keys && chmod 700 ~root/.ssh/ && \

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015-2021 Volt Grid Pty Ltd
3+
Copyright (c) 2015-2023 Volt Grid Pty Ltd
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ push: ## Pushes the docker image to hub.docker.com
2020
clean: ## Remove built images
2121
docker rmi $(IMAGE_NAME):latest || true
2222
docker rmi $(IMAGE_NAME):$(TAG) || true
23+
24+
_ci_test:
25+
echo "NOOP"

0 commit comments

Comments
 (0)