Skip to content

Commit

Permalink
fix: update container dependencies (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
caroldelwing authored Oct 18, 2024
1 parent 4301daa commit 3816387
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions docs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -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 .
```

0 comments on commit 3816387

Please sign in to comment.