Compare commits

...
Sign in to create a new pull request.

6 commits

Author SHA1 Message Date
54c5e412ea fix tagging 2025-01-18 13:55:09 -08:00
f767ae9a3f fix deploy 2025-01-18 11:50:04 -08:00
ff904fb2a8 fix deploy 2025-01-18 11:44:32 -08:00
37e9865268 fix deploy 2025-01-17 20:49:13 -08:00
78e70f8c42 fix deploy 2025-01-17 20:42:58 -08:00
0afd54e6b5 fix deploy 2025-01-17 20:39:16 -08:00

View file

@ -4,6 +4,8 @@ jobs:
runs-on: docker
container:
image: library/docker:dind
outputs:
tags: "${{ steps.meta.outputs.tags }}"
steps:
- run: apk add --no-cache nodejs git
- name: login to container registry
@ -37,12 +39,16 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
repository: https://git.janky.solutions/JankySolutions/infra.git
repository: jankysolutions/infra
ref: main
- name: deploy
run: |
set -exuo pipefail
tag=$(echo "${{ needs.build-container.outputs.tags }}" | tail -n1)
tag=$(echo "${tags}" | tail -n1)
sed -i "s#image: git.janky.solutions/finn/matrix-bridge-meshtastic:.*#image: ${tag}#" k8s/meshtastic/statefulset.yaml
git config user.email "deployer@janky.solutions"
git config user.name "Deployer Robot"
git commit -am "bump matrix-bridge-meshtastic to ${tag}"
git push
env:
tags: "${{ needs.build-container.outputs.tags }}"