chore: copy image to ghcr

This commit is contained in:
Matthias 2024-10-31 20:48:02 +01:00
parent f392b4ec96
commit 079c6bee6e

View File

@ -174,6 +174,10 @@ jobs:
- docker
environment:
name: Production
permissions:
packages: write
steps:
- name: Download digests
uses: actions/download-artifact@v4
@ -221,3 +225,8 @@ jobs:
- name: Inspect image
run: |
docker buildx imagetools inspect freqtradeorg/frequi:${{ steps.meta.outputs.version }}
- name: Push image to GHCR
run: |
tags=$(echo ${{ steps.meta.outputs.tags }} | jq -r '.[] | "--tag ghcr.io/freqtrade/frequi:" + .')
docker buildx imagetools create $tags freqtradeorg/frequi:${{ steps.meta.outputs.version }}