fix(vmware): sync VM memory (fixes #397) (#399) #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Replace version in k8s manifests on main tag push | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
replace_version: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
token: ${{ secrets.GH_TOKEN }} | |
ref: main | |
- name: Import GPG key | |
uses: crazy-max/ghaction-import-gpg@cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 # v6 | |
with: | |
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
passphrase: ${{ secrets.GPG_PASSPHRASE }} | |
git_user_signingkey: true | |
git_commit_gpgsign: true | |
- name: Replace image version in k8s manifests | |
run: | | |
for file in k8s/*.yaml; do | |
sed -i "s|ghcr.io/bl4ko/netbox-ssot:v.*.*.*|ghcr.io/bl4ko/netbox-ssot:${{ github.ref_name }}|g" "$file" | |
done | |
- name: Commit and push changes | |
run: | | |
git config --global user.name "svccicd" | |
git config --global user.email "187764736+svccicd@users.noreply.github.com" | |
git add . | |
git commit -m "chore(k8s): Replace version in k8s manifests" | |
git push -f |