Skip to content

Commit 14879a1

Browse files
committed
Enable packer logs
1 parent 81cd9ae commit 14879a1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/actions/build_ami/action.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ runs:
124124
- name: Create AMI
125125
shell: bash
126126
working-directory: ./scripts/aws/uid2-operator-ami
127+
env:
128+
PACKER_LOG: 1
129+
PACKER_LOG_PATH: /tmp/packer.log
127130
run: |
128131
ls -al
129132
TIMESTAMP=$(date +%s)
@@ -135,6 +138,12 @@ runs:
135138
-var-file="${{ inputs.identity_scope }}.pkrvars.hcl" \
136139
.
137140
141+
- name: Upload Packer logs
142+
uses: actions/upload-artifact@v4
143+
with:
144+
name: packer.log
145+
path: /tmp/packer.log
146+
138147
- name: Extract AMI ID
139148
id: extractAmiIdAndEnclaveId
140149
shell: bash

0 commit comments

Comments
 (0)