Skip to content

Commit

Permalink
Merge pull request #566 from Concordium/lma/identity_provider_service…
Browse files Browse the repository at this point in the history
…_release

Identity provider service release
  • Loading branch information
lassemand authored Nov 6, 2024
2 parents 81c5f9d + 232cb67 commit 44e7bfd
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release-identity-provider-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on:
push:
tags:
- identity-provider-service/*

jobs:
release-identity-provider-service:
uses: concordium/.github/.github/workflows/docker-release-workflow.yaml@main
with:
SERVICE_NAME: "identity-provider-service"
BUILD_ARGS: |
base_image_tag=rust1.73-ghc9.6.4
DOCKER_FILE_PATH: scripts/identity-provider-service.Dockerfile
CARGO_FILE_PATH: identity-provider-service/Cargo.toml
secrets: inherit
2 changes: 1 addition & 1 deletion identity-provider-service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "identity-provider-service"
version = "0.5.6"
version = "0.5.7"
authors = ["Concordium AG <[email protected]>"]
edition = "2018"
license-file = "../../LICENSE-APACHE"
Expand Down
4 changes: 3 additions & 1 deletion scripts/identity-provider-service.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ WORKDIR /build/identity-provider-service
RUN cargo build --release

# Collect build artifacts in fresh image.
FROM ubuntu:20.04
FROM ubuntu:24.04
RUN apt-get update && \
apt-get -y install \
libssl-dev \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*

LABEL base_image_tag=${base_image_tag}

COPY --from=builder /build/identity-provider-service/target/release/identity-provider-service /identity-provider-service
COPY --from=builder /build/identity-provider-service/target/release/identity-verifier /identity-verifier
COPY --from=builder /build/scripts/start.sh /start.sh
Expand Down

0 comments on commit 44e7bfd

Please sign in to comment.