chore: push image to ghcr, too

This commit is contained in:
Matthias 2024-10-31 19:17:35 +01:00
parent 6feb6c2c03
commit 951f285450

View File

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