0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-16 21:56:43 -05:00

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:

View file

@ -2,7 +2,7 @@
[![GoDoc](https://img.shields.io/static/v1?label=godoc&message=reference&color=blue)](https://pkg.go.dev/willnorris.com/go/imageproxy)
[![Test Status](https://github.com/willnorris/imageproxy/workflows/tests/badge.svg)](https://github.com/willnorris/imageproxy/actions?query=workflow%3Atests)
[![Test Coverage](https://codecov.io/gh/willnorris/imageproxy/branch/master/graph/badge.svg)](https://codecov.io/gh/willnorris/imageproxy)
[![Test Coverage](https://codecov.io/gh/willnorris/imageproxy/branch/main/graph/badge.svg)](https://codecov.io/gh/willnorris/imageproxy)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/2611/badge)](https://bestpractices.coreinfrastructure.org/projects/2611)
imageproxy is a caching image proxy server written in go. It features: