chore: Upgraded to new workflow
Some checks failed
Build and deploy / build (push) Failing after 17m55s
Build and deploy / Deploy container (push) Has been skipped

This commit is contained in:
2025-11-16 22:21:08 +01:00
parent f3de8e36ea
commit 4475ba5293
2 changed files with 35 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@2be45c8128b7ccec93c49e69e807bb20727ca56b
secrets: inherit
with:
upload_manifests: false
push_manifests: false
deploy:
name: Deploy container

33
docker-bake.hcl Normal file
View File

@@ -0,0 +1,33 @@
variable "TAG_BASE" {}
variable "RELEASE_VERSION" {}
group "default" {
targets = ["automation"]
}
target "docker-metadata-action" {}
# TODO: Auto include this from the workflow
target "common" {
cache-from = [
{
type = "gha"
}
]
cache-to = [
{
type = "gha"
mode = "max"
}
]
args = {
RELEASE_VERSION = "${RELEASE_VERSION}"
}
}
target "automation" {
inherits = ["docker-metadata-action", "common"]
context = "./"
dockerfile = "Dockerfile"
tags = [for tag in target.docker-metadata-action.tags : "${TAG_BASE}:${tag}"]
}