File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 11name : Build and publish the Docker image
22
33on :
4- push :
5- branches : ["main"]
4+ workflow_dispatch :
5+ release :
6+ types : [published]
67
78env :
89 REGISTRY : docker.io
9- IMAGE_NAME : ${{ github.repository }}
10+ IMAGE_NAME : Dogtititi/AutoGPT-Next-Web
1011
1112jobs :
1213 build-and-push-image :
2728 password : ${{ secrets.DOCKER_TOKEN }}
2829 - name : Extract metadata (tags, labels) for Docker
2930 id : meta
30- uses : docker/metadata-action@507c2f2dc502c992ad446e3d7a5dfbe311567a96
31+ uses : docker/metadata-action@v4
3132 with :
3233 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3334
3940 NEXTAUTH_URL=http://localhost:3000
4041 DATABASE_URL=file:../db/db.sqlite
4142 SKIP_ENV_VALIDATION=1
42- push : ${{ github.event_name != 'pull_request' }}
43+ push : true
4344 tags : ${{ steps.meta.outputs.tags }}
4445 labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments