Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Packer to release version 1.8.5 #604

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.14 AS build
FROM alpine:3.17.1 AS build

ARG PACKER_VERSION
ARG PACKER_VERSION_SHA256SUM
Expand Down
2 changes: 1 addition & 1 deletion packer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ gcloud builds submit .
> **Advanced builder building:** To specify a particular version of packer, provide the packer version
> number, and the checksum of that version's zip archive, as Cloud Build [substitutions][substitutions]:
> ```
> gcloud builds submit --substitutions=_PACKER_VERSION=1.7.8,_PACKER_VERSION_SHA256SUM=8a94b84542d21b8785847f4cccc8a6da4c7be5e16d4b1a2d0a5f7ec5532faec0 .
> gcloud builds submit --substitutions=_PACKER_VERSION=1.8.5,_PACKER_VERSION_SHA256SUM=1f17a724e5ccc696010c842e6d2bb2c2749ab18ce7bf06482012d3ddb9edeef2 .
> ```

[substitutions]: https://cloud.google.com/cloud-build/docs/configuring-builds/substitute-variable-values#using_user-defined_substitutions
Expand Down
4 changes: 2 additions & 2 deletions packer/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ steps:
'--build-arg', 'PACKER_VERSION_SHA256SUM=${_PACKER_VERSION_SHA256SUM}',
'.']
substitutions:
_PACKER_VERSION: 1.7.8
_PACKER_VERSION_SHA256SUM: 8a94b84542d21b8785847f4cccc8a6da4c7be5e16d4b1a2d0a5f7ec5532faec0
_PACKER_VERSION: 1.8.5
_PACKER_VERSION_SHA256SUM: 1f17a724e5ccc696010c842e6d2bb2c2749ab18ce7bf06482012d3ddb9edeef2

images:
- 'gcr.io/$PROJECT_ID/packer:latest'
Expand Down
2 changes: 1 addition & 1 deletion packer/examples/gce/build.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ variable "builder_sa" {

source "googlecompute" "test-image" {
project_id = var.project_id
source_image_family = "ubuntu-2104"
source_image_family = "ubuntu-2204-lts"
zone = var.zone
image_description = "Created with Packer from Cloudbuild"
ssh_username = "root"
Expand Down