kopia lustrzana https://github.com/dgtlmoon/changedetection.io
Merge branch 'master' of github.com:dgtlmoon/changedetection.io
commit
c749d2ee44
|
@ -1,9 +1,11 @@
|
||||||
name: Build and push containers
|
name: Build and push containers
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Automatically triggered by a testing workflow passing
|
# Automatically triggered by a testing workflow passing, but this is only checked when it lands in the `master`/default branch
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: ["ChangeDetection.io Test"]
|
workflows: ["ChangeDetection.io Test"]
|
||||||
|
branches: [master]
|
||||||
|
tags: ['0.*']
|
||||||
types: [completed]
|
types: [completed]
|
||||||
|
|
||||||
# Or a new tagged release
|
# Or a new tagged release
|
||||||
|
@ -24,6 +26,7 @@ jobs:
|
||||||
echo c: ${{ github.event.workflow_run.conclusion }}
|
echo c: ${{ github.event.workflow_run.conclusion }}
|
||||||
echo r: ${{ github.event.workflow_run }}
|
echo r: ${{ github.event.workflow_run }}
|
||||||
echo tname: "${{ github.event.release.tag_name }}"
|
echo tname: "${{ github.event.release.tag_name }}"
|
||||||
|
echo headbranch: -${{ github.event.workflow_run.head_branch }}-
|
||||||
set
|
set
|
||||||
|
|
||||||
build-push-containers:
|
build-push-containers:
|
||||||
|
|
10
README.md
10
README.md
|
@ -41,15 +41,15 @@ Run the python code on your own machine by cloning this repository, or with <a h
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
|
|
||||||
Check out our Docker hub page https://hub.docker.com/r/dgtlmoon/changedetection.io
|
_Note:_ We also use GitHub's container repository, because DockerHub has limited pull/downloads.
|
||||||
|
|
||||||
With Docker composer, just clone this repository and
|
With Docker composer, just clone this repository and..
|
||||||
```bash
|
```bash
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
```
|
```
|
||||||
Docker standalone
|
Docker standalone
|
||||||
```bash
|
```bash
|
||||||
$ docker run -d --restart always -p "127.0.0.1:5000:5000" -v datastore-volume:/datastore --name changedetection.io dgtlmoon/changedetection.io
|
$ docker run -d --restart always -p "127.0.0.1:5000:5000" -v datastore-volume:/datastore --name changedetection.io ghcr.io/dgtlmoon/changedetection.io
|
||||||
```
|
```
|
||||||
|
|
||||||
### Python Pip
|
### Python Pip
|
||||||
|
@ -69,10 +69,10 @@ _Now with per-site configurable support for using a fast built in HTTP fetcher o
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
```
|
```
|
||||||
docker pull dgtlmoon/changedetection.io
|
docker pull ghcr.io/dgtlmoon/changedetection.io
|
||||||
docker kill $(docker ps -a|grep changedetection.io|awk '{print $1}')
|
docker kill $(docker ps -a|grep changedetection.io|awk '{print $1}')
|
||||||
docker rm $(docker ps -a|grep changedetection.io|awk '{print $1}')
|
docker rm $(docker ps -a|grep changedetection.io|awk '{print $1}')
|
||||||
docker run -d --restart always -p "127.0.0.1:5000:5000" -v datastore-volume:/datastore --name changedetection.io dgtlmoon/changedetection.io
|
docker run -d --restart always -p "127.0.0.1:5000:5000" -v datastore-volume:/datastore --name changedetection.io ghcr.io/dgtlmoon/changedetection.io
|
||||||
```
|
```
|
||||||
|
|
||||||
### docker-compose
|
### docker-compose
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
version: '2'
|
version: '2'
|
||||||
services:
|
services:
|
||||||
changedetection.io:
|
changedetection.io:
|
||||||
image: dgtlmoon/changedetection.io
|
image: ghcr.io/dgtlmoon/changedetection.io
|
||||||
container_name: changedetection.io
|
container_name: changedetection.io
|
||||||
hostname: changedetection.io
|
hostname: changedetection.io
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Ładowanie…
Reference in New Issue