Skip to content

Commit dd2aa4f

Browse files
fix: updated dependencies (#38)
* fix: updated dependencies * ci: update dependencies * chore: updated docker file
1 parent fe22767 commit dd2aa4f

File tree

4 files changed

+27
-22
lines changed

4 files changed

+27
-22
lines changed

.github/workflows/release.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ on:
77
env:
88
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
99
PALETTE_VERSION: 4.0.2
10-
PALETTE_CLI_VERSION: 4.2.2
11-
PALETTE_EDGE_VERSION: 4.2.3
12-
PACKER_VERSION: 1.9.4
10+
PALETTE_CLI_VERSION: 4.3.7
11+
PALETTE_EDGE_VERSION: 4.3.2
12+
PACKER_VERSION: 1.11.0
1313
ORAS_VERSION: 1.0.0
14-
TERRAFORM_VERSION: 1.7.0
15-
PALETTE_REGISTRY_CLI_VERSION: 4.2.0
14+
TERRAFORM_VERSION: 1.8.4
15+
PALETTE_REGISTRY_CLI_VERSION: 4.3.0
1616

1717
jobs:
1818
docker:
@@ -22,9 +22,9 @@ jobs:
2222
VERSION: ${{ steps.get-version.outputs.version }}
2323
steps:
2424
- name: Setup nodeJs
25-
uses: actions/setup-node@v1.4.4
25+
uses: actions/setup-node@v4
2626
with:
27-
node-version: "18"
27+
node-version: "20"
2828

2929
- name: Check out code into the Go module directory
3030
uses: actions/checkout@v4
@@ -44,19 +44,19 @@ jobs:
4444

4545
- name: "Set up Docker Buildx"
4646
if: ${{ steps.dependencies.outputs.VERSION != ''}}
47-
uses: docker/setup-buildx-action@v2
47+
uses: docker/setup-buildx-action@v3.3.0
4848

4949
- name: Login to GHCR
5050
if: ${{ steps.dependencies.outputs.VERSION != ''}}
51-
uses: docker/login-action@v1
51+
uses: docker/login-action@v3.2.0
5252
with:
5353
registry: ghcr.io
5454
username: ${{ github.repository_owner }}
5555
password: ${{ secrets.GITHUB_TOKEN }}
5656

5757
- name: Build and push
5858
if: ${{ steps.dependencies.outputs.VERSION != ''}}
59-
uses: docker/build-push-action@v2
59+
uses: docker/build-push-action@v5.3.0
6060
id: build-and-push
6161
with:
6262
context: .

.github/workflows/test.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ on:
77
env:
88
GITHUB_TOKEN: ${{ github.token }}
99
PALETTE_VERSION: 4.0.2
10-
PALETTE_CLI_VERSION: 4.2.2
11-
PALETTE_EDGE_VERSION: 4.2.3
12-
PACKER_VERSION: 1.9.4
10+
PALETTE_CLI_VERSION: 4.3.7
11+
PALETTE_EDGE_VERSION: 4.3.2
12+
PACKER_VERSION: 1.11.0
1313
ORAS_VERSION: 1.0.0
14-
TERRAFORM_VERSION: 1.7.0
15-
PALETTE_REGISTRY_CLI_VERSION: 4.2.0
14+
TERRAFORM_VERSION: 1.8.4
15+
PALETTE_REGISTRY_CLI_VERSION: 4.3.0
1616

1717
concurrency:
1818
group: docker-${{ github.ref }}
@@ -39,12 +39,12 @@ jobs:
3939
steps:
4040
- id: checkout
4141
name: Checkout Repository
42-
uses: actions/checkout@v3
42+
uses: actions/checkout@v4
4343

4444
- name: Setup Nodejs
45-
uses: actions/setup-node@v3
45+
uses: actions/setup-node@v4
4646
with:
47-
node-version: 18
47+
node-version: "20"
4848

4949
- name: Install dependencies
5050
run: npm ci
@@ -53,17 +53,17 @@ jobs:
5353
uses: docker/setup-qemu-action@v2
5454

5555
- name: Set up Docker Buildx
56-
uses: docker/setup-buildx-action@v2
56+
uses: docker/setup-buildx-action@v3.3.0
5757

5858
- name: Login to GHCR
59-
uses: docker/login-action@v1
59+
uses: docker/login-action@v3.2.0
6060
with:
6161
registry: ghcr.io
6262
username: ${{ github.repository_owner }}
6363
password: ${{ secrets.GITHUB_TOKEN }}
6464

6565
- name: Build and Push Docker Image
66-
uses: docker/build-push-action@v4.0.0
66+
uses: docker/build-push-action@v5.3.0
6767
with:
6868
context: .
6969
platforms: linux/amd64,linux/arm64

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,6 @@ RUN unzip /usr/local/sbin/packer_${PACKER_VERSION}_linux_amd64.zip -d /usr/local
7272
rm -rf /usr/local/sbin/packer_${PACKER_VERSION}_linux_amd64.zip
7373
EXPOSE 5000
7474

75+
USER appuser
76+
7577
CMD ["/bin/bash"]

edge/vmware/packer/build.pkr.hcl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,9 @@ source "vsphere-iso" "edge-template" {
200200
RAM_hot_plug = false
201201
cdrom_type = var.vm_cdrom_type
202202
disk_controller_type = var.vm_disk_controller_type
203+
remote_cache_cleanup = true
204+
local_cache_overwrite = true
205+
remote_cache_overwrite = true
203206

204207
storage {
205208
disk_size = var.vm_disk_size
@@ -212,7 +215,7 @@ source "vsphere-iso" "edge-template" {
212215
network_card = var.vm_network_card
213216
}
214217
disable_shutdown = true
215-
shutdown_timeout = "10m"
218+
shutdown_timeout = "20m"
216219
communicator = "none"
217220
iso_url = "${path.cwd}/${var.iso}"
218221
iso_checksum = "file:file://${path.cwd}/${var.iso_checksum}"

0 commit comments

Comments
 (0)