mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-27 11:18:29 +08:00
fixed workflow
This commit is contained in:
@@ -46,9 +46,9 @@ jobs:
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ inputs.image-name }}
|
||||
tags: |
|
||||
type=raw,value=latest,enable={{is_default_branch}}
|
||||
type=sha,prefix=${{ env.TAG_PREFIX }},format=short,enable={{!is_default_branch}}
|
||||
type=ref,event=tag,enable={{!is_default_branch}}
|
||||
type=raw,value=latest,enable=${{ github.ref_name == 'main' }}
|
||||
type=sha,prefix=${{ env.TAG_PREFIX }},format=short,enable=${{ github.ref_name != 'main' }}
|
||||
type=ref,event=tag,enable=${{ github.ref_name != 'main' }}
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v3.2.0
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user