mirror of
https://github.com/hashicorp/setup-packer.git
synced 2026-03-30 16:12:35 +00:00
* Bump axios in the npm_and_yarn group across 1 directory Bumps the npm_and_yarn group with 1 update in the / directory: [axios](https://github.com/axios/axios). Updates `axios` from 1.13.2 to 1.13.5 - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v1.13.2...v1.13.5) --- updated-dependencies: - dependency-name: axios dependency-version: 1.13.5 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> * copy write fixes --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: kp2099 <karthik200499@gmail.com>
43 lines
836 B
HCL
43 lines
836 B
HCL
# Copyright IBM Corp. 2022, 2026
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
packer {
|
|
required_plugins {
|
|
# see https://github.com/hashicorp/packer-plugin-hashicups/releases/tag/v1.0.2
|
|
hashicups = {
|
|
version = ">= 1.0.0"
|
|
source = "github.com/hashicorp/hashicups"
|
|
}
|
|
}
|
|
}
|
|
|
|
# file: builds.pkr.hcl
|
|
source "file" "basic_example" {
|
|
content = "Lorem ipsum dolor sit amet"
|
|
target = "sample_artifact"
|
|
}
|
|
|
|
variable "bucket_name" {
|
|
type = string
|
|
default = "hello-world"
|
|
}
|
|
|
|
build {
|
|
hcp_packer_registry {
|
|
bucket_name = "${var.bucket_name}"
|
|
|
|
description = <<EOT
|
|
Some nice description about the image which artifact is being published to HCP Packer Registry. =D
|
|
EOT
|
|
|
|
bucket_labels = {
|
|
"version" = "1.2.3",
|
|
"foo" = "bar",
|
|
}
|
|
}
|
|
|
|
sources = [
|
|
"sources.file.basic_example"
|
|
]
|
|
}
|