Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
70 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Deploy | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Deploy Image | ||
run: bash scripts/build-push.sh | ||
env: | ||
NAME: latest | ||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | ||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Issue Manager | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
issue_comment: | ||
types: | ||
- created | ||
- edited | ||
issues: | ||
types: | ||
- labeled | ||
|
||
jobs: | ||
issue-manager: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: tiangolo/issue-manager@0.3.0 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
config: > | ||
{ | ||
"answered": { | ||
"message": "Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues." | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
use_tag="tiangolo/nginx-rtmp:$NAME" | ||
use_dated_tag="${use_tag}-$(date -I)" | ||
|
||
bash scripts/build.sh | ||
|
||
docker tag "$use_tag" "$use_dated_tag" | ||
|
||
bash scripts/docker-login.sh | ||
|
||
docker push "$use_tag" | ||
docker push "$use_dated_tag" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
use_tag="tiangolo/nginx-rtmp:$NAME" | ||
|
||
docker build -t "$use_tag" . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin |