Compare commits

...

2 Commits

Author SHA1 Message Date
067477431b fix: Chef cook uses wrong toolchain
All checks were successful
Build and deploy / build (push) Successful in 12m12s
Build and deploy / Deploy container (push) Has been skipped
This adds a toolchain setup step to the base image so we do not have to
do it multiple times
2025-11-17 05:28:22 +01:00
31d89b82be chore: Upgraded to new workflow 2025-11-17 05:28:22 +01:00
3 changed files with 19 additions and 2 deletions

View File

@@ -9,10 +9,10 @@ on:
jobs:
build:
uses: dreaded_x/workflows/.gitea/workflows/rust-kubernetes.yaml@22ee0c1788a8d2157db87d6a6f8dbe520fe48592
uses: dreaded_x/workflows/.gitea/workflows/docker-kubernetes.yaml@a302fa5a1ce1ac580039fa1ef306a9fd80f698e7
secrets: inherit
with:
upload_manifests: false
push_manifests: false
deploy:
name: Deploy container

View File

@@ -3,6 +3,8 @@ ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
RUN cargo install cargo-chef --locked --version 0.1.71 && \
cargo install cargo-auditable --locked --version 0.6.6
WORKDIR /app
COPY ./rust-toolchain.toml .
RUN rustup toolchain install
FROM base AS planner
COPY . .

15
docker-bake.hcl Normal file
View File

@@ -0,0 +1,15 @@
variable "TAG_BASE" {}
variable "RELEASE_VERSION" {}
group "default" {
targets = ["automation"]
}
target "docker-metadata-action" {}
target "automation" {
inherits = ["docker-metadata-action"]
context = "./"
dockerfile = "Dockerfile"
tags = [for tag in target.docker-metadata-action.tags : "${TAG_BASE}:${tag}"]
}