Skip to content

Commit

Permalink
Improve GA
Browse files Browse the repository at this point in the history
  • Loading branch information
dmelina committed Sep 25, 2024
1 parent 0846b47 commit 08a18de
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/aws-x86-java11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,14 @@ jobs:

- name: Setup `packer`
uses: hashicorp/setup-packer@main
id: setup
with:
version: "latest"

- name: Init `packer`
id: init
run: cd packer; packer init aws-x86-zulu.pkr.hcl
- name: Install `packer plugins: Amazon`
run: packer plugins install github.com/hashicorp/amazon

- name: Install `packer plugins: Ansible`
run: packer plugins install github.com/hashicorp/ansible

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
Expand Down
26 changes: 13 additions & 13 deletions packer/aws-x86-zulu.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
# Variables
# -----------------------------------------------

packer {
required_plugins {
amazon = {
#version = ">= 1.3.1"
source = "github.com/hashicorp/amazon"
}

ansible = {
#version = ">= 1.1.1"
source = "github.com/hashicorp/ansible"
}
}
}
#packer {
# required_plugins {
# amazon = {
# version = ">= 1.3.1"
# source = "github.com/hashicorp/amazon"
# }
#
# ansible = {
# version = ">= 1.1.1"
# source = "github.com/hashicorp/ansible"
# }
# }
#}

variable "java_major" {
type = string
Expand Down

0 comments on commit 08a18de

Please sign in to comment.