mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +00:00
Merge pull request #1031 from chechiachang/feature/push-to-quay-io
feature: push to quay.io
This commit is contained in:
commit
ed1c5c82cb
7
.github/workflows/docker.yml
vendored
7
.github/workflows/docker.yml
vendored
|
@ -25,6 +25,7 @@ jobs:
|
|||
# list of Docker images to use as base name for tags
|
||||
images: |
|
||||
yoanlin/bbgo
|
||||
quay.io/yoanlin/bbgo
|
||||
# generate Docker tags based on the following events/attributes
|
||||
tags: |
|
||||
type=schedule
|
||||
|
@ -43,6 +44,12 @@ jobs:
|
|||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Login to Quay Container Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: quay.io
|
||||
username: ${{ secrets.QUAY_USERNAME }}
|
||||
password: ${{ secrets.QUAY_TOKEN }}
|
||||
- name: Build and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
|
|
Loading…
Reference in New Issue
Block a user