Skip to content

Commit

Permalink
Use slim tag rather than new docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
ostefano committed Mar 7, 2025
1 parent 22d2e11 commit 36f84e7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
target: [misp-core, misp-modules, misp-core-lite, misp-modules-lite]
target: [misp-core, misp-modules, misp-core-slim, misp-modules-slim]

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-build-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
target: [misp-core, misp-modules, misp-core-lite, misp-modules-lite]
target: [misp-core, misp-modules, misp-core-slim, misp-modules-slim]

steps:
- name: Checkout repository
Expand Down
12 changes: 6 additions & 6 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ variable "PHP_VER" {
group "default" {
targets = [
"misp-modules",
"misp-modules-lite",
"misp-modules-slim",
"misp-core",
"misp-core-lite",
"misp-core-slim",
]
}

Expand All @@ -91,10 +91,10 @@ target "misp-modules" {
platforms = "${PLATFORMS}"
}

target "misp-modules-lite" {
target "misp-modules-slim" {
context = "modules/."
dockerfile = "Dockerfile"
tags = flatten(["${NAMESPACE}/misp-modules-lite:latest", "${NAMESPACE}/misp-modules-lite:${COMMIT_HASH}", MODULES_TAG != "" ? ["${NAMESPACE}/misp-modules-lite:${MODULES_TAG}"] : []])
tags = flatten(["${NAMESPACE}/misp-modules:latest-slim", "${NAMESPACE}/misp-modules:${COMMIT_HASH}-slim", MODULES_TAG != "" ? ["${NAMESPACE}/misp-modules:${MODULES_TAG}-slim"] : []])
args = {
"MODULES_TAG": "${MODULES_TAG}",
"MODULES_COMMIT": "${MODULES_COMMIT}",
Expand Down Expand Up @@ -125,10 +125,10 @@ target "misp-core" {
platforms = "${PLATFORMS}"
}

target "misp-core-lite" {
target "misp-core-slim" {
context = "core/."
dockerfile = "Dockerfile"
tags = flatten(["${NAMESPACE}/misp-core-lite:latest", "${NAMESPACE}/misp-core-lite:${COMMIT_HASH}", CORE_TAG != "" ? ["${NAMESPACE}/misp-core-lite:${CORE_TAG}"] : []])
tags = flatten(["${NAMESPACE}/misp-core:latest-slim", "${NAMESPACE}/misp-core:${COMMIT_HASH}-slim", CORE_TAG != "" ? ["${NAMESPACE}/misp-core:${CORE_TAG}-slim"] : []])
args = {
"CORE_TAG": "${CORE_TAG}",
"CORE_COMMIT": "${CORE_COMMIT}",
Expand Down

0 comments on commit 36f84e7

Please sign in to comment.