Revert ARM builds to only arm64

This commit is contained in:
spikecodes 2021-04-17 21:32:48 -07:00
parent b6134a39d0
commit e3fb93946a
No known key found for this signature in database
GPG Key ID: 004CECFF9B463BCB
4 changed files with 7 additions and 5 deletions

View File

@ -31,6 +31,6 @@ jobs:
with: with:
context: . context: .
file: ./Dockerfile.arm file: ./Dockerfile.arm
platforms: linux/arm64,linux/arm/v7 platforms: linux/arm64
push: true push: true
tags: spikecodes/libreddit:arm tags: spikecodes/libreddit:arm

2
Cargo.lock generated
View File

@ -605,7 +605,7 @@ checksum = "9385f66bf6105b241aa65a61cb923ef20efc665cb9f9bb50ac2f0c4b7f378d41"
[[package]] [[package]]
name = "libreddit" name = "libreddit"
version = "0.10.7" version = "0.10.5"
dependencies = [ dependencies = [
"askama", "askama",
"async-recursion", "async-recursion",

View File

@ -3,7 +3,7 @@ name = "libreddit"
description = " Alternative private front-end to Reddit" description = " Alternative private front-end to Reddit"
license = "AGPL-3.0" license = "AGPL-3.0"
repository = "https://github.com/spikecodes/libreddit" repository = "https://github.com/spikecodes/libreddit"
version = "0.10.7" version = "0.10.5"
authors = ["spikecodes <19519553+spikecodes@users.noreply.github.com>"] authors = ["spikecodes <19519553+spikecodes@users.noreply.github.com>"]
edition = "2018" edition = "2018"

View File

@ -1,7 +1,9 @@
#################################################################################################### ####################################################################################################
## Builder ## Builder
#################################################################################################### ####################################################################################################
FROM --platform=$BUILDPLATFORM rust:latest AS builder FROM rust:alpine AS builder
RUN apk add --no-cache g++
WORKDIR /usr/src/libreddit WORKDIR /usr/src/libreddit
@ -12,7 +14,7 @@ RUN cargo install --path .
#################################################################################################### ####################################################################################################
## Final image ## Final image
#################################################################################################### ####################################################################################################
FROM --platform=$BUILDPLATFORM alpine:latest FROM alpine:latest
# Import ca-certificates from builder # Import ca-certificates from builder
COPY --from=builder /usr/share/ca-certificates /usr/share/ca-certificates COPY --from=builder /usr/share/ca-certificates /usr/share/ca-certificates