mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-27 15:41:41 +01:00
feat: add dockerhub registry (#17)
This commit is contained in:
7
.github/workflows/docker.yaml
vendored
7
.github/workflows/docker.yaml
vendored
@@ -24,6 +24,7 @@ jobs:
|
||||
# list of Docker images to use as base name for tags
|
||||
images: |
|
||||
ghcr.io/acouvreur/traefik-ondemand-service
|
||||
acouvreur/traefik-ondemand-service
|
||||
# generate Docker tags based on the following events/attributes
|
||||
tags: |
|
||||
type=schedule
|
||||
@@ -46,6 +47,12 @@ jobs:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
-
|
||||
name: Login to Docker Hub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
-
|
||||
name: Build and push
|
||||
id: docker_build
|
||||
|
||||
@@ -16,6 +16,9 @@
|
||||
<a href="https://github.com/acouvreur/traefik-ondemand-service/releases">
|
||||
<img src="https://img.shields.io/github/release/acouvreur/traefik-ondemand-service/all.svg?style=flat-square">
|
||||
</a>
|
||||
<a href="https://github.com/acouvreur/traefik-ondemand-service/releases">
|
||||
<img src="https://img.shields.io/docker/image-size/acouvreur/traefik-ondemand-service?style=flat-square">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
## Features
|
||||
@@ -40,6 +43,9 @@
|
||||
|
||||
### Docker
|
||||
|
||||
- Docker Hub `acouvreur/traefik-ondemand-service`
|
||||
- Ghcr `ghcr.io/acouvreur/traefik-ondemand-service`
|
||||
|
||||
`docker run -v /var/run/docker.sock:/var/run/docker.sock -p 10000:10000
|
||||
ghcr.io/acouvreur/traefik-ondemand-service:latest --swarmode=true`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user