Skip to content

Commit

Permalink
Add versioning for vault-toolkit
Browse files Browse the repository at this point in the history
  • Loading branch information
DTLP committed Nov 29, 2023
1 parent 875b6d6 commit 0499161
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@ SHELL := /bin/bash

release:
@sd "newTag: master" "newTag: $(VERSION)" base/vault-namespace/kustomization.yaml
@sd "image: quay.io/utilitywarehouse/vault-toolkit" "image: quay.io/utilitywarehouse/vault-toolkit:$(VERSION)" base/vault-namespace/vault.yaml
@sd "image: quay.io/utilitywarehouse/vault-toolkit" "image: quay.io/utilitywarehouse/vault-toolkit:$(VERSION)" base/vault-namespace/vault-pki.yaml
@git add -- base/vault-namespace/kustomization.yaml
@git add -- base/vault-namespace/vault.yaml
@git add -- base/vault-namespace/vault-pki.yaml
@git commit -m "Release $(VERSION)"
@sd "newTag: $(VERSION)" "newTag: master" base/vault-namespace/kustomization.yaml
@sd "image: quay.io/utilitywarehouse/vault-toolkit:$(VERSION)" "image: quay.io/utilitywarehouse/vault-toolkit" base/vault-namespace/vault.yaml
@sd "image: quay.io/utilitywarehouse/vault-toolkit:$(VERSION)" "image: quay.io/utilitywarehouse/vault-toolkit" base/vault-namespace/vault-pki.yaml
@git add -- base/vault-namespace/kustomization.yaml
@git add -- base/vault-namespace/vault.yaml
@git add -- base/vault-namespace/vault-pki.yaml
@git commit -m "Clean up release $(VERSION)"

0 comments on commit 0499161

Please sign in to comment.