tiny-livestream/.github/workflows/dockerimage.yml

20 lines
579 B
YAML
Raw Normal View History

2019-09-11 23:28:47 -07:00
name: Docker Image CI
2019-10-25 21:06:29 -07:00
on: [push, pull_request]
2019-09-11 23:28:47 -07:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build the Docker image
run: |
docker build . --file Dockerfile --tag nginx-rtmp:latest
docker tag nginx-rtmp alfg/nginx-rtmp:latest
2019-10-25 21:06:29 -07:00
# docker login docker.pkg.github.com --username alfg --password ${{ secrets.GITHUB_TOKEN }}
# docker tag nginx-rtmp docker.pkg.github.com/alfg/docker-nginx-rtmp/nginx-rtmp:latest
# push docker.pkg.github.com/alfg/docker-openencoder/nginx-rtmp:latest