Fixed reported version
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 6m8s
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 6m8s
This commit is contained in:
parent
61d57d6de1
commit
94e009a867
|
@ -17,6 +17,12 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
fetch-tags: true
|
||||
- name: Test
|
||||
run: |
|
||||
git describe --always
|
||||
|
||||
- name: Get Git commit timestamps
|
||||
run: echo "TIMESTAMP=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
|
||||
|
|
|
@ -3,6 +3,7 @@ use std::path::Path;
|
|||
|
||||
use color_eyre::eyre::Context;
|
||||
use dotenvy::dotenv;
|
||||
use git_version::git_version;
|
||||
use hyper::server::conn::http1::{self};
|
||||
use hyper_util::rt::TokioIo;
|
||||
use rand::rngs::OsRng;
|
||||
|
@ -29,6 +30,12 @@ async fn main() -> color_eyre::Result<()> {
|
|||
.with(env_filter)
|
||||
.init();
|
||||
|
||||
info!(
|
||||
"Starting {} ({})",
|
||||
std::env!("CARGO_PKG_NAME"),
|
||||
git_version!(),
|
||||
);
|
||||
|
||||
let key = if let Ok(path) = std::env::var("PRIVATE_KEY_FILE") {
|
||||
russh::keys::PrivateKey::read_openssh_file(Path::new(&path))
|
||||
.wrap_err_with(|| format!("failed to read ssh key: {path}"))?
|
||||
|
|
Loading…
Reference in New Issue
Block a user