chore: update docker image workflow for alpha releases

This commit is contained in:
JustSong 2025-02-02 14:17:48 +08:00
parent 6a197ceb69
commit 46b1d35d83

View File

@ -55,8 +55,8 @@ jobs:
uses: docker/metadata-action@v4
with:
images: |
justsong/one-api
ghcr.io/${{ github.repository }}
${{ contains(github.ref, 'alpha') && 'justsong/one-api-alpha' || 'justsong/one-api' }}
${{ contains(github.ref, 'alpha') && 'ghcr.io/${{ github.repository }}-alpha' || 'ghcr.io/${{ github.repository }}' }}
- name: Build and push Docker images
uses: docker/build-push-action@v3