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 1.9.4 #301

Merged
merged 3 commits into from
Sep 9, 2023
Merged
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 .github/workflows/archlinuxarm-armv7-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Install Packer
uses: hashicorp-contrib/setup-packer@v2
with:
packer-version: 1.9.1
packer-version: 1.9.4

- name: Build image
run: sudo packer build -var docker_user=$docker_user -var docker_password=$docker_password -var docker_repository=$docker_repository boards/armv7/archlinuxarm-docker.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/archlinuxarm-armv8-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Install Packer
uses: hashicorp-contrib/setup-packer@v2
with:
packer-version: 1.9.1
packer-version: 1.9.4

- name: Build image
run: sudo packer build -var docker_user=$docker_user -var docker_password=$docker_password -var docker_repository=$docker_repository boards/armv8/archlinuxarm-docker.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
- name: Install Packer
uses: hashicorp-contrib/setup-packer@v2
with:
packer-version: 1.9.1
packer-version: 1.9.4

- name: Retrieve cache
uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ COPY . .

RUN go build -o packer-builder-arm

ENV PACKER_VERSION 1.9.1
ENV PACKER_VERSION 1.9.4

RUN if [ "$(uname -m)" = "aarch64" ]; then PACKER_ARCH="arm64"; else PACKER_ARCH="amd64"; fi && \
wget https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_${PACKER_ARCH}.zip -q -O /tmp/packer.zip && \
Expand Down Expand Up @@ -71,7 +71,7 @@ COPY --from=qemu_binaries /binaries/* /usr/bin/
ENV PACKER_LOG=1

# Enable plugin / download caching for consecutive runs
ENV PACKER_PLUGIN_PATH="/build/.packer_plugins"
ENV PACKER_PLUGIN_PATH="/bin:/build/.packer_plugins"
ENV PACKER_CACHE_DIR="/build/.packer_cache"

ENTRYPOINT ["/entrypoint.sh"]
Loading