not building
This commit is contained in:
1 parent
da0d153b81
commit
f8efd895a9
1 file changed
+23
-25
@@ -6,9 +6,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
branch: [main]
|
branch: [main]
|
||||||
paths:
|
paths:
|
||||||
- 'config.yaml'
|
- "config.yaml"
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
metadata:
|
metadata:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Metadata
|
name: Metadata
|
||||||
@@ -29,37 +28,36 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo ::set-output name=CHANGELOG::$(cat CHANGELOG.md)
|
echo ::set-output name=CHANGELOG::$(cat CHANGELOG.md)
|
||||||
|
|
||||||
build:
|
# build:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
name: Build & Publish ${{ matrix.arch }}
|
# name: Build & Publish ${{ matrix.arch }}
|
||||||
needs:
|
# needs:
|
||||||
- metadata
|
# - metadata
|
||||||
strategy:
|
# strategy:
|
||||||
matrix:
|
# matrix:
|
||||||
arch: ["aarch64", "amd64", "armhf", "armv7", "i386"]
|
# arch: ["aarch64", "amd64", "armhf", "armv7", "i386"]
|
||||||
|
|
||||||
steps:
|
# steps:
|
||||||
- name: Check out repository
|
# - name: Check out repository
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Login to DockerHub
|
# - name: Login to DockerHub
|
||||||
uses: docker/login-action@v2.0.0
|
# uses: docker/login-action@v2.0.0
|
||||||
with:
|
# with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
# username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
# password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build & Push to Dockerhub - ${{ matrix.arch }} / ${{ needs.metadata.outputs.version }}
|
# - name: Build & Push to Dockerhub - ${{ matrix.arch }} / ${{ needs.metadata.outputs.version }}
|
||||||
uses: home-assistant/builder@2022.03.1
|
# uses: home-assistant/builder@2022.03.1
|
||||||
with:
|
# with:
|
||||||
args: |
|
# args: |
|
||||||
--${{ matrix.arch }} \
|
# --${{ matrix.arch }} \
|
||||||
--target .
|
# --target .
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
- metadata
|
- metadata
|
||||||
- build
|
|
||||||
name: Publish Github Release
|
name: Publish Github Release
|
||||||
steps:
|
steps:
|
||||||
- name: Publish Release ${{ needs.metadata.outputs.version }}
|
- name: Publish Release ${{ needs.metadata.outputs.version }}
|
||||||
|
|||||||
Reference in new issue
Block a user