Add build version in log
All checks were successful
deploy / docker (push) Successful in 11m27s

This commit is contained in:
Florian RICHER 2023-11-21 23:37:30 +01:00
parent 64b5fdfebd
commit aca074ef01
4 changed files with 16 additions and 15 deletions

View file

@ -22,16 +22,16 @@ jobs:
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3
# - name: Login to Docker Hub
# uses: https://github.com/docker/login-action@v3
# with:
# registry: gitea.mrdev023.fr
# username: ${{ secrets.USERNAME }}
# password: ${{ secrets.PASSWORD }}
#
# - name: Build and push
# uses: https://github.com/docker/build-push-action@v5
# with:
# context: .
# push: true
# tags: gitea.mrdev023.fr/florian.richer/portfolio:latest
- name: Login to Docker Hub
uses: https://github.com/docker/login-action@v3
with:
registry: gitea.mrdev023.fr
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
- name: Build and push
uses: https://github.com/docker/build-push-action@v5
with:
context: .
push: true
tags: gitea.mrdev023.fr/florian.richer/portfolio:latest

2
Cargo.lock generated
View file

@ -1797,7 +1797,7 @@ checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964"
[[package]]
name = "portfolio"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"actix-files",
"actix-web",

View file

@ -1,6 +1,6 @@
[package]
name = "portfolio"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
[lib]

View file

@ -13,6 +13,7 @@ cfg_if! {
console_error_panic_hook::set_once();
logging::log!("hydrate mode - hydrating");
logging::log!("Portfolio version : {}", env!("CARGO_PKG_VERSION"));
leptos::mount_to_body(|| {
view! { <App/> }