publish on tag push
This commit is contained in:
parent
2907ceef3d
commit
07a4fbdc8c
1 changed files with 15 additions and 0 deletions
|
@ -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
|
Loading…
Reference in a new issue