using dockerhub for hosting
This commit is contained in:
1 parent
fa575dd142
commit
98184104ee
4 files changed
+27
-8
No files matched your search
@@ -1,6 +1,20 @@
|
||||
run_locally:
|
||||
docker-compose build
|
||||
$(MAKE) build_images
|
||||
docker-compose up -d
|
||||
docker-compose ps
|
||||
|
||||
build_images:
|
||||
ARCH=amd64 docker-compose -f docker-compose.build.yaml build
|
||||
ARCH=armhf docker-compose -f docker-compose.build.yaml build
|
||||
ARCH=armv7 docker-compose -f docker-compose.build.yaml build
|
||||
ARCH=aarch64 docker-compose -f docker-compose.build.yaml build
|
||||
ARCH=i386 docker-compose -f docker-compose.build.yaml build
|
||||
|
||||
push_images:
|
||||
ARCH=amd64 docker-compose -f docker-compose.build.yaml push
|
||||
ARCH=armhf docker-compose -f docker-compose.build.yaml
|
||||
|
||||
ARCH=armv7 docker-compose -f docker-compose.build.yaml build
|
||||
ARCH=aarch64 docker-compose -f docker-compose.build.yaml build
|
||||
ARCH=i386 docker-compose -f docker-compose.build.yaml build
|
||||
|
||||
+2
-1
@@ -1,8 +1,9 @@
|
||||
name: Shortumation
|
||||
version: 0.0.4c
|
||||
version: 0.0.5
|
||||
slug: shortumation
|
||||
url: "https://github.com/asosnovsky/Shortumation"
|
||||
description: "A homeassitant addon which provides better UI for automations & scripts."
|
||||
image: "asosnovsky/shortumation:{arch}-latest"
|
||||
arch:
|
||||
- armhf
|
||||
- armv7
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
version: '3'
|
||||
services:
|
||||
addon:
|
||||
image: "asosnovsky/shortumation:${ARCH:-amd64}-${BUILD_TAG:-latest}"
|
||||
build:
|
||||
context: "./"
|
||||
dockerfile: "./Dockerfile"
|
||||
args:
|
||||
- BUILD_FROM=homeassistant/${ARCH:-amd64}-base:latest
|
||||
+1
-6
@@ -1,12 +1,7 @@
|
||||
version: '3'
|
||||
services:
|
||||
addon:
|
||||
image: "local/shortumation:${BUILD_TAG:-latest}"
|
||||
build:
|
||||
context: "./"
|
||||
dockerfile: "./Dockerfile"
|
||||
args:
|
||||
- BUILD_FROM=homeassistant/amd64-base:latest
|
||||
image: "asosnovsky/shortumation:${ARCH:-amd64}-${BUILD_TAG:-latest}"
|
||||
volumes:
|
||||
- "./sample_config:/config"
|
||||
ports:
|
||||
|
||||
Reference in new issue
Block a user