diff --git a/.github/workflows/release-identity-provider-service.yaml b/.github/workflows/release-identity-provider-service.yaml new file mode 100644 index 000000000..8b5a8d80b --- /dev/null +++ b/.github/workflows/release-identity-provider-service.yaml @@ -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 diff --git a/identity-provider-service/Cargo.toml b/identity-provider-service/Cargo.toml index e68dc04e0..f386cb23c 100644 --- a/identity-provider-service/Cargo.toml +++ b/identity-provider-service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity-provider-service" -version = "0.5.6" +version = "0.5.7" authors = ["Concordium AG "] edition = "2018" license-file = "../../LICENSE-APACHE" diff --git a/scripts/identity-provider-service.Dockerfile b/scripts/identity-provider-service.Dockerfile index 596a3b86b..2d8b1947c 100644 --- a/scripts/identity-provider-service.Dockerfile +++ b/scripts/identity-provider-service.Dockerfile @@ -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