feature: push to quay.io

This commit is contained in:
chechia 2022-12-20 17:53:19 +08:00
parent 2b20ff4da9
commit 12c7f6585a
No known key found for this signature in database
GPG Key ID: BF5216A9961E11A6

View File

@ -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