Skip to content

Commit b713e42

Browse files
authored
Merge pull request #19 from bordeux/fix/fix-docker-build-v2
ci: add Docker build verification to CI workflow
2 parents 0feea10 + e3608ae commit b713e42

4 files changed

Lines changed: 44 additions & 91 deletions

File tree

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,3 +172,22 @@ jobs:
172172
path: target/release/${{ matrix.artifact_name }}
173173
if-no-files-found: error
174174
retention-days: 7
175+
176+
docker-build:
177+
name: Docker Build
178+
runs-on: ubuntu-latest
179+
steps:
180+
- name: Checkout code
181+
uses: actions/checkout@v4
182+
183+
- name: Set up Docker Buildx
184+
uses: docker/setup-buildx-action@v3
185+
186+
- name: Build Docker image
187+
uses: docker/build-push-action@v6
188+
with:
189+
context: .
190+
push: false
191+
tags: tmpltool:test
192+
cache-from: type=gha
193+
cache-to: type=gha,mode=max

Cargo.lock

Lines changed: 22 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ chrono = "0.4"
2828
chrono-tz = "0.10"
2929
hostname = "0.4"
3030
whoami = "1.5"
31-
dirs = "5.0"
31+
dirs = "6.0"
3232
if-addrs = "0.13"
3333
base64 = "0.22"
3434
hex = "0.4"
35-
bcrypt = "0.16"
35+
bcrypt = "0.17"
3636
hmac = "0.12"
3737
url = "2"
3838
urlencoding = "2"

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ================================
22
# Build Stage
33
# ================================
4-
FROM rust:1.85-slim as builder
4+
FROM rust:1.90-slim AS builder
55

66
WORKDIR /usr/src/tmpltool
77

0 commit comments

Comments
 (0)