update default branch to master

- fix URL for CI badge in README
- add actions workflow to push 'main' branch to 'latest' docker image
This commit is contained in:
Will Norris 2020-06-21 17:50:32 +00:00
parent 0da684b81e
commit bfb3289bd5
3 changed files with 20 additions and 2 deletions

18
.github/workflows/docker-latest.yml vendored Normal file
View file

@ -0,0 +1,18 @@
on:
push:
branches:
- 'main'
name: docker-publish-latest
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: willnorris/imageproxy
tags: latest

View file

@ -2,7 +2,7 @@ on:
push:
tags:
- '*'
name: docker-publish
name: docker-publish-tags
jobs:
docker: