setting init to false
This commit is contained in:
1 parent
5c99308fa6
commit
1a2a78b1e8
3 files changed
+3
-38
No files matched your search
@@ -1,24 +0,0 @@
|
||||
# on:
|
||||
# push:
|
||||
# tags:
|
||||
# - 'v*'
|
||||
|
||||
# name: Create Release
|
||||
|
||||
# jobs:
|
||||
# build:
|
||||
# name: Create Release
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - name: Checkout code
|
||||
# uses: actions/checkout@v2
|
||||
# - name: Create Release
|
||||
# id: create_release
|
||||
# uses: actions/create-release@v1
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# with:
|
||||
# tag_name: ${{ github.ref }}
|
||||
# release_name: Release ${{ github.ref }}
|
||||
# draft: false
|
||||
# prerelease: false
|
||||
@@ -1,6 +1,5 @@
|
||||
name: Build add-on
|
||||
env:
|
||||
BUILD_ARGS: "--test"
|
||||
MONITORED_FILES: "apparmor.txt build.yaml config.yaml Dockerfile data rootfs"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -22,7 +21,7 @@ jobs:
|
||||
|
||||
- name: Get the version
|
||||
id: get_version
|
||||
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
|
||||
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)-g$(echo ${{ github.sha }} | cut -c1-5 )
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v2.0.0
|
||||
@@ -30,17 +29,6 @@ jobs:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
# - name: Build ${{ steps.get_version.outputs.VERSION }} / ${{ matrix.arch }}
|
||||
# run: |
|
||||
# ARCH=${{ matrix.arch }} \
|
||||
# BUILD_TAG=${{ steps.get_version.outputs.VERSION }} \
|
||||
# docker-compose -f docker-compose.build.yaml build
|
||||
|
||||
# - name: Push ${{ steps.get_version.outputs.VERSION }} / ${{ matrix.arch }}
|
||||
# run: |
|
||||
# ARCH=${{ matrix.arch }} \
|
||||
# BUILD_TAG=${{ steps.get_version.outputs.VERSION }} \
|
||||
# docker-compose -f docker-compose.build.yaml push
|
||||
|
||||
- name: Publish
|
||||
uses: home-assistant/builder@2022.03.1
|
||||
|
||||
+2
-1
@@ -8,10 +8,11 @@ arch:
|
||||
- aarch64
|
||||
- amd64
|
||||
- armhf
|
||||
- armv7
|
||||
- armv7s
|
||||
- i386
|
||||
startup: application
|
||||
boot: auto
|
||||
init: false
|
||||
ingress: true
|
||||
ingress_port: 8000
|
||||
ingress_entry: "web/"
|
||||
|
||||
Reference in new issue
Block a user