Skip to content

Commit

Permalink
Move to patching original workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
adeepn authored and jethome-bot committed Jun 21, 2024
1 parent 030b5dc commit eb60143
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 83 deletions.
78 changes: 0 additions & 78 deletions .github/workflows/jh-publish.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: "Publish"
name: "JH Publish"

on:
release:
types: [published]
push:
branches:
- master
- master-jethub

jobs:
publish:
name: Publish builder
runs-on: ubuntu-latest
runs-on: ${{ vars.RUNNER }}
strategy:
fail-fast: False
matrix:
Expand All @@ -30,14 +30,14 @@ jobs:
run: |
declare -a docker
name="ghcr.io/home-assistant/wheels/${{ matrix.arch }}/${{ matrix.tag }}/${{ matrix.abi }}"
name="ghcr.io/jethub-homeassistant/wheels/${{ matrix.arch }}/${{ matrix.tag }}/${{ matrix.abi }}"
version=$(echo "${{ github.ref }}" | awk -F"/" '{print $NF}' )
if [ "${version}" = "master" ]; then
version=dev
fi
base="ghcr.io/home-assistant/${{ matrix.arch }}-base-python:${{ matrix.base }}"
base="ghcr.io/jethub-homeassistant/${{ matrix.arch }}-base-python:${{ matrix.base }}"
if [ "${{ matrix.arch }}" = "armhf" ]; then
docker+=("--build-arg QEMU_CPU=arm1176")
Expand Down

0 comments on commit eb60143

Please sign in to comment.