Skip to content

Commit

Permalink
Pin Rust version, update debian (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
marsavar authored Jul 2, 2024
1 parent c885ce8 commit f3c14d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
with:
file: ./Dockerfile
push: true
tags: ghcr.io/guardian/actions-prnouncer:latest
tags: ghcr.io/guardian/actions-prnouncer:latest,ghcr.io/guardian/actions-prnouncer:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
provenance: false
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:latest AS build
FROM rust:1.79 AS build

COPY ./src ./src
COPY ./Cargo.toml ./Cargo.toml
Expand All @@ -7,7 +7,7 @@ COPY ./Cargo.lock ./Cargo.lock
RUN cargo build --release

# Rust has issues with Alpine at the moment due to its requirement on glibc, so unfortunately we do need to use a slightly larger distro.
FROM debian:bullseye-slim
FROM debian:bookworm-slim

RUN apt-get update && apt-get install -y ca-certificates

Expand Down

0 comments on commit f3c14d3

Please sign in to comment.