|
@@ -25,14 +25,14 @@ jobs:
|
|
|
- name: Login to Docker Hub
|
|
|
uses: docker/login-action@v2
|
|
|
with:
|
|
|
- username: ${{ env.DOCKERHUB_USER }}
|
|
|
- password: ${{ env.DOCKERHUB_TOKEN }}
|
|
|
+ username: ${{ secrets.DOCKERHUB_USER }}
|
|
|
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
|
|
- name: Extract metadata (tags, labels) for Docker
|
|
|
id: meta
|
|
|
uses: docker/metadata-action@v5
|
|
|
with:
|
|
|
- images: ${{ env.DIFY_SANDBOX_IMAGE_NAME }}
|
|
|
+ images: ${{ vars.DIFY_SANDBOX_IMAGE_NAME || 'langgenius/dify-sandbox' }}
|
|
|
tags: |
|
|
|
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
|
|
|
type=ref,event=branch
|