publish on tag push
Some checks failed
/ build-container (push) Has been cancelled
/ release (push) Has been cancelled

This commit is contained in:
Finn 2024-11-22 23:37:16 -08:00
parent 2907ceef3d
commit 07a4fbdc8c

View file

@ -21,3 +21,18 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
release:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- name: update hassio-addons
run: |
echo "${DEPLOY_SSH_KEY}" >> ~/.ssh/id_edi25519
chmod 600 ~/.ssh/id_edi25519
set -exuo pipefail
git clone git@git.janky.solutions:finn/hassio-addons.git
cd hassio-addons
sed -i "s#version: v.*#version: ${GITHUB_REF_NAME}#" lockserver/config.yaml
git commit -am "bump lockserver to ${GITHUB_REF_NAME}"
git push