From fd7247e4d570130c898c3cab6438ca8f27550886 Mon Sep 17 00:00:00 2001 From: Carolina Delwing Rosa Date: Fri, 18 Oct 2024 10:36:10 -0400 Subject: [PATCH] fix: update container dependencies --- .github/workflows/release.yaml | 8 ++++---- .github/workflows/test.yaml | 8 ++++---- Dockerfile | 2 +- docs/docker.md | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4ed3866..cde35c6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,13 +6,13 @@ on: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PALETTE_VERSION: 4.0.2 - PALETTE_CLI_VERSION: 4.4.0 - PALETTE_EDGE_VERSION: 4.4.2 + PALETTE_VERSION: 4.5.0 + PALETTE_CLI_VERSION: 4.5.0 + PALETTE_EDGE_VERSION: 4.5.3 PACKER_VERSION: 1.11.0 ORAS_VERSION: 1.0.0 TERRAFORM_VERSION: 1.9.0 - PALETTE_REGISTRY_CLI_VERSION: 4.3.0 + PALETTE_REGISTRY_CLI_VERSION: 4.5.0 K9S_VERSION: 0.32.5 jobs: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d9eb5a8..383ab6c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -6,13 +6,13 @@ on: env: GITHUB_TOKEN: ${{ github.token }} - PALETTE_VERSION: 4.0.2 - PALETTE_CLI_VERSION: 4.4.0 - PALETTE_EDGE_VERSION: 4.4.2 + PALETTE_VERSION: 4.5.0 + PALETTE_CLI_VERSION: 4.5.0 + PALETTE_EDGE_VERSION: 4.5.3 PACKER_VERSION: 1.11.0 ORAS_VERSION: 1.0.0 TERRAFORM_VERSION: 1.9.0 - PALETTE_REGISTRY_CLI_VERSION: 4.3.0 + PALETTE_REGISTRY_CLI_VERSION: 4.5.0 K9S_VERSION: 0.32.5 concurrency: diff --git a/Dockerfile b/Dockerfile index 5294492..2f8ec87 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ ARG PALETTE_VERSION -FROM gcr.io/spectro-images-public/release/spectro-registry:${PALETTE_VERSION} AS server +FROM us-docker.pkg.dev/palette-images/palette/spectro-registry:${PALETTE_VERSION} AS server FROM alpine:latest diff --git a/docs/docker.md b/docs/docker.md index 23a2c08..e63cc6d 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -3,13 +3,13 @@ To download the image, issue the following command. Change the version tag as needed. ```shell -docker pull ghcr.io/spectrocloud/tutorials:1.0.12 +docker pull ghcr.io/spectrocloud/tutorials:1.1.11 ``` You can start the container using the following command. ```shell -docker run -p 5000:5000 --rm -it ghcr.io/spectrocloud/tutorials:1.0.12 bash +docker run -p 5000:5000 --rm -it ghcr.io/spectrocloud/tutorials:1.1.11 bash ``` > The Docker file builds a Linux environment. You can use this image on a Mac and Windows. Windows users will require the usage of [WSL2](https://learn.microsoft.com/en-us/windows/wsl/about). @@ -63,5 +63,5 @@ registry serve /etc/spectro/config.yml > /var/log/registry.log 2>&1 & If you want to build the docker image locally, you must provide the build arguments for `PALETTE_VERSION`, `PALETTE_CLI_VERSION`, `PALETTE_EDGE_VERSION`, `PACKER_VERSION`, `ORAS_VERSION`, `TERRAFORM_VERSION`, and `K9S_VERSION`. Use the following command to build a local image and replace the versions as needed. ```shell -docker build --build-arg PALETTE_VERSION=4.0.2 --build-arg PALETTE_CLI_VERSION=4.4.0 --build-arg PALETTE_EDGE_VERSION=4.4.2 --build-arg PACKER_VERSION=1.11.0 --build-arg ORAS_VERSION=1.0.0 --build-arg PALETTE_REGISTRY_CLI_VERSION=4.3.0 --build-arg TERRAFORM_VERSION=1.9.0 --build-arg K9S_VERSION=0.32.5 -t tutorials . +docker build --build-arg PALETTE_VERSION=4.5.0 --build-arg PALETTE_CLI_VERSION=4.5.0 --build-arg PALETTE_EDGE_VERSION=4.5.3 --build-arg PACKER_VERSION=1.11.0 --build-arg ORAS_VERSION=1.0.0 --build-arg PALETTE_REGISTRY_CLI_VERSION=4.5.0 --build-arg TERRAFORM_VERSION=1.9.0 --build-arg K9S_VERSION=0.32.5 -t tutorials . ```