-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update isle-bagger to 0.0.5 * Update Isle-Buildkit to v3.4.0 from 3.2.5 * Cleanup docker-bake.hcl and use contexts * Cleanup CI/CD
- Loading branch information
Showing
3 changed files
with
66 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,41 @@ | ||
variable "ISLE_BAGGER_REGISTRY" { | ||
default = "ghcr.io/cwrc" | ||
} | ||
variable "ISLE_BAGGER_VERSION" { | ||
default = "v0.0.5@sha256:4e05219adb36595ddfc51fee33a35ead45fced6b01f57e157bcc01d2608a4aae" | ||
} | ||
|
||
############################################################################### | ||
# Common target properties. | ||
############################################################################### | ||
target "common" { | ||
args = { | ||
# Required for reproduciable builds. | ||
# Requires Buildkit 0.11+ | ||
# See: https://reproducible-builds.org/docs/source-date-epoch/ | ||
# SOURCE_DATE_EPOCH = "${SOURCE_DATE_EPOCH}", | ||
} | ||
} | ||
|
||
# https://github.com/docker/metadata-action?tab=readme-ov-file#bake-definition | ||
# bake definition file that can be used with the Docker Bake action. You just | ||
# have to declare an empty target named docker-metadata-action and inherit from it. | ||
target "docker-metadata-action" {} | ||
|
||
|
||
############################################################################### | ||
# Target. | ||
############################################################################### | ||
# The digest (sha256 hash) is not platform specific but the digest for the manifest of all platforms. | ||
# It will be the digest printed when you do: docker pull alpine:3.17.1 | ||
# Not the one displayed on DockerHub. | ||
|
||
target "leaf-bagger" { | ||
inherits = ["common", "docker-metadata-action"] | ||
dockerfile = "Dockerfile" | ||
args = { | ||
BAGGER_TAG = "v0.0.4@sha256:668e47efe49280eeef0b004eb11a2d380804d02e333ad24568061e846fe7fb80" | ||
contexts = { | ||
isle_bagger = "docker-image://${ISLE_BAGGER_REGISTRY}/isle-bagger:${ISLE_BAGGER_VERSION}" | ||
#isle_bagger = "docker-image://ISLE_BAGGER_REGISTRY}/drupal:${ISLE_BAGGER_VERSION}" | ||
#BAGGER_TAG = "v0.0.5@sha256:4e05219adb36595ddfc51fee33a35ead45fced6b01f57e157bcc01d2608a4aae" | ||
} | ||
} |