Browse Source

Revert ARM builds to only arm64

pull/203/head
spikecodes 1 year ago
parent
commit
e3fb93946a
No known key found for this signature in database GPG Key ID: 4CECFF9B463BCB
  1. 2
      .github/workflows/docker-arm.yml
  2. 2
      Cargo.lock
  3. 2
      Cargo.toml
  4. 6
      Dockerfile.arm

2
.github/workflows/docker-arm.yml

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

2
Cargo.lock

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

2
Cargo.toml

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

6
Dockerfile.arm

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

Loading…
Cancel
Save