Compare commits

..

8 Commits

Author SHA1 Message Date
semantic-release-bot
357667b352 chore(release): 1.3.0 [skip ci]
# [1.3.0](http://gitea.gitea.svc.cluster.local:3000/djpbessems/ContainerImage.PackerExtended/compare/v1.2.0...v1.3.0) (2024-06-06)

### Features

* Add helm binary (required for helm package action) ([c32a19a](c32a19ab36))
2024-06-06 11:04:40 +00:00
c32a19ab36 feat: Add helm binary (required for helm package action)
All checks were successful
build-image / Semantic Release (Dry-run) (push) Successful in 18s
build-image / Container image (push) Successful in 5m0s
build-image / Semantic Release (push) Successful in 20s
2024-06-06 20:52:29 +10:00
semantic-release-bot
739047e477 chore(release): 1.2.0 [skip ci]
# [1.2.0](http://gitea.gitea.svc.cluster.local:3000/djpbessems/ContainerImage.PackerExtended/compare/v1.1.0...v1.2.0) (2024-06-06)

### Features

* Add unzip (required for packer action) ([3134776](31347764ae))
2024-06-06 02:16:32 +00:00
77dab0de04 build: Disable provenance for image push
All checks were successful
build-image / Semantic Release (Dry-run) (push) Successful in 18s
build-image / Container image (push) Successful in 4m59s
build-image / Semantic Release (push) Successful in 22s
2024-06-06 12:03:19 +10:00
31347764ae feat: Add unzip (required for packer action)
Some checks failed
build-image / Semantic Release (Dry-run) (push) Successful in 16s
build-image / Container image (push) Failing after 4m46s
build-image / Semantic Release (push) Has been skipped
2024-06-06 11:53:55 +10:00
semantic-release-bot
e4749fd0c4 chore(release): 1.1.0 [skip ci]
# [1.1.0](http://gitea.gitea.svc.cluster.local:3000/djpbessems/ContainerImage.PackerExtended/compare/v1.0.0...v1.1.0) (2024-06-06)

### Features

* Add nodejs (prereq for majority of actions) ([29e242c](29e242c30c))
2024-06-06 01:47:13 +00:00
12c75403a0 Merge branch 'master' of https://code.spamasaurus.com/djpbessems/ContainerImage.PackerExtended
All checks were successful
build-image / Semantic Release (Dry-run) (push) Successful in 18s
build-image / Container image (push) Successful in 4m55s
build-image / Semantic Release (push) Successful in 24s
2024-06-06 11:18:20 +10:00
29e242c30c feat: Add nodejs (prereq for majority of actions) 2024-06-06 11:18:18 +10:00
3 changed files with 37 additions and 3 deletions

View File

@ -86,12 +86,13 @@ jobs:
- name: Build & push container image
uses: docker/build-push-action@v5
with:
push: true
context: .
tags: code.spamasaurus.com/djpbessems/packer-extended:${{ needs.semrel_dryrun.outputs.version }}
build-args: |
REPO_USERNAME=${{ secrets.REPO_USERNAME }}
REPO_PASSWORD=${{ secrets.REPO_PASSWORD }}
context: .
tags: code.spamasaurus.com/djpbessems/packer-extended:${{ needs.semrel_dryrun.outputs.version }}
provenance: false
push: true
env:
DOCKER_HOST: "tcp://docker:2376/"
DOCKER_TLS_CERTDIR: "/certs"

View File

@ -1,3 +1,24 @@
# [1.3.0](http://gitea.gitea.svc.cluster.local:3000/djpbessems/ContainerImage.PackerExtended/compare/v1.2.0...v1.3.0) (2024-06-06)
### Features
* Add helm binary (required for helm package action) ([c32a19a](http://gitea.gitea.svc.cluster.local:3000/djpbessems/ContainerImage.PackerExtended/commit/c32a19ab36378ae7263054035ceabfc0510e589e))
# [1.2.0](http://gitea.gitea.svc.cluster.local:3000/djpbessems/ContainerImage.PackerExtended/compare/v1.1.0...v1.2.0) (2024-06-06)
### Features
* Add unzip (required for packer action) ([3134776](http://gitea.gitea.svc.cluster.local:3000/djpbessems/ContainerImage.PackerExtended/commit/31347764ae36478ddbb89735656cb044e6931276))
# [1.1.0](http://gitea.gitea.svc.cluster.local:3000/djpbessems/ContainerImage.PackerExtended/compare/v1.0.0...v1.1.0) (2024-06-06)
### Features
* Add nodejs (prereq for majority of actions) ([29e242c](http://gitea.gitea.svc.cluster.local:3000/djpbessems/ContainerImage.PackerExtended/commit/29e242c30c037a4e1f7102370b97b25d7f926c34))
# 1.0.0 (2024-06-05)

View File

@ -13,6 +13,10 @@ ADD https://${REPO_USERNAME}:${REPO_PASSWORD}@sn.itch.fyi/Repository/bin/VMware/
RUN apk --update add --no-cache \
curl \
jq && \
curl -L https://api.github.com/repos/helm/helm/releases/latest | \
jq -r '.tag_name' | \
xargs -I {} curl -L -o /tmp/helm.tar.gz https://get.helm.sh/helm-{}-linux-amd64.tar.gz && \
tar -xzf /tmp/helm.tar.gz --strip-components=1 -C /tmp && \
curl -L https://api.github.com/repos/mikefarah/yq/releases/latest | \
jq -r '.assets[] | select(.name | endswith("yq_linux_amd64")) | .browser_download_url' | \
xargs -I {} curl -L -o /tmp/yq {} && \
@ -24,6 +28,7 @@ COPY --from=packer /bin/packer /bin/packer
COPY --from=terraform /bin/terraform /bin/terraform
COPY --from=download /tmp/ovftool-installer /tmp/ovftool-installer
COPY --from=download /tmp/yq /bin/yq
COPY --from=download /tmp/helm /usr/bin/helm
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
@ -44,6 +49,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
locales \
make \
netcat-openbsd \
# (npm) Dependency for Gitea Actions
npm \
openssh-client \
powershell-lts \
# (python3-*) Dependency for installation of Ansible
@ -54,11 +61,16 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
qemu-utils \
# (sshpass) Dependency for Packer (non-interactive password authentication)
sshpass \
# (unzip) Dependency for Gitea Actions
unzip \
# (xorriso) Dependency for Packer (generating isofs image)
xorriso \
yamllint && \
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen && \
npm install npm@latest -g && \
npm install n -g && \
n latest && \
pip3 install --upgrade pip && \
pip3 install \
ansible-core~=2.14.0 \