Skip to content

Commit

Permalink
V0.1.13 (#18)
Browse files Browse the repository at this point in the history
* General house keeping:
- Update chart to leverage Bitnami MongoDB 14.10.1
- Fix various JS vulnerabilities
- Update the dev scripts
- Add a publish script with steps to publish new image
- Update Helm dependencies
  • Loading branch information
shuguet authored Feb 21, 2024
1 parent de82beb commit 9ca7a23
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 6 deletions.
6 changes: 3 additions & 3 deletions charts/pacman/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: mongodb
repository: https://charts.bitnami.com/bitnami
version: 13.6.7
digest: sha256:968d303142434a9b8f785ffb4212b03e7e57b40d413347fc6ac486c8aed33902
generated: "2023-02-10T14:25:02.328787+01:00"
version: 14.10.1
digest: sha256:338dc8f69cbe7ad490e47e3c50b633bcc6a0c4ce22d31fb8ffb2d4e6c5c86d49
generated: "2024-02-21T15:56:21.296645094+01:00"
4 changes: 2 additions & 2 deletions charts/pacman/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
version: 0.1.12
appVersion: "0.1.12"
version: 0.1.13
appVersion: "0.1.13"
name: pacman
description: Pac-Man Demo App for Kubernetes
home: https://github.com/shuguet/pacman
Expand Down
Binary file removed charts/pacman/charts/mongodb-13.6.7.tgz
Binary file not shown.
Binary file added charts/pacman/charts/mongodb-14.10.1.tgz
Binary file not shown.
17 changes: 16 additions & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,28 @@
#
# Required tools:
# - docker
NEW_VERSION='0.1.12'
NEW_VERSION='0.1.13'
GITHUB_USERNAME='shuguet'
GITHUB_TOKEN='nice try'

# Perform local build
docker build . -t pacman

# Update Helm dependencies (prepare git commit)
(cd charts/pacman && helm dependency update)
git add .
git commit -m "Update Helm dependencies"
echo "==========================================="
echo "Make sure to push this new commit upstream!"
echo "==========================================="

# Tag new images
docker tag pacman ghcr.io/shuguet/pacman:${NEW_VERSION}
docker tag pacman ghcr.io/shuguet/pacman:latest

# Login to ghcr.io
echo ${GITHUB_TOKEN} | docker login ghcr.io -u ${GITHUB_USERNAME} --password-stdin

# Push images to ghcr.io
docker push ghcr.io/shuguet/pacman:${NEW_VERSION}
docker push ghcr.io/shuguet/pacman:latest

0 comments on commit 9ca7a23

Please sign in to comment.