Skip to content

Commit

Permalink
chore: copy image to ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Oct 31, 2024
1 parent f392b4e commit 079c6be
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ jobs:
- docker
environment:
name: Production

permissions:
packages: write

steps:
- name: Download digests
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -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 }}

0 comments on commit 079c6be

Please sign in to comment.