mirror of
https://github.com/nadoo/glider.git
synced 2025-02-23 17:35:40 +08:00
ci: add workflow to publish docker image
This commit is contained in:
parent
e72086120a
commit
2d71facf9b
20
.github/workflows/docker.yml
vendored
Normal file
20
.github/workflows/docker.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
name: Publish Docker image
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
push_to_registry:
|
||||||
|
name: Push Docker image to Docker Hub
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out the repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Push to Docker Hub
|
||||||
|
uses: docker/build-push-action@v1
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
repository: nadoo/glider
|
||||||
|
tag_with_ref: true
|
||||||
|
|
@ -363,7 +363,7 @@ glider -config CONFIGPATH -listen :8080 -verbose
|
|||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
- [ipset](https://github.com/nadoo/ipset): ipset package for Go via netlink socket
|
- [ipset](https://github.com/nadoo/ipset): ipset package for Go via netlink socket.
|
||||||
- [conflag](https://github.com/nadoo/conflag): command line and config file parse support
|
- [conflag](https://github.com/nadoo/conflag): a drop-in replacement for Go's standard flag package with config file support.
|
||||||
- [ArchLinux](https://www.archlinux.org/packages/community/x86_64/glider): a great linux distribution with glider pre-built package
|
- [ArchLinux](https://www.archlinux.org/packages/community/x86_64/glider): a great linux distribution with glider pre-built package.
|
||||||
- [urlencode](https://www.w3schools.com/tags/ref_urlencode.asp): you should encode special characters in scheme url. e.g: `@`->`%40`
|
- [urlencode](https://www.w3schools.com/tags/ref_urlencode.asp): you should encode special characters in scheme url. e.g: `@`->`%40`
|
||||||
|
Loading…
Reference in New Issue
Block a user