mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-14 04:03:51 +00:00
chore: push image to ghcr, too
This commit is contained in:
parent
6feb6c2c03
commit
951f285450
13
.github/workflows/docker.yml
vendored
13
.github/workflows/docker.yml
vendored
|
@ -13,6 +13,8 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
environment:
|
||||
name: Production
|
||||
|
@ -30,9 +32,18 @@ jobs:
|
|||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: freqtradeorg/frequi:latest
|
||||
tags: |
|
||||
freqtradeorg/frequi:latest
|
||||
ghcr.io/freqtrade/frequi:latest
|
||||
|
|
Loading…
Reference in New Issue
Block a user