Skip to content

Commit 6436294

Browse files
committed
.
1 parent ccda586 commit 6436294

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/docker-build-push.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Build and Push Docker Images
22

33
on:
44
push:
5-
branches: [main]
65
tags:
76
- 'v*'
87
workflow_dispatch:
@@ -34,12 +33,10 @@ jobs:
3433
with:
3534
images: ${{ env.DOCKERHUB_USERNAME }}/python-executor-sci
3635
tags: |
37-
type=ref,event=branch
38-
type=ref,event=pr
3936
type=semver,pattern={{version}}
4037
type=semver,pattern={{major}}.{{minor}}
4138
type=semver,pattern={{major}}
42-
type=raw,value=latest,enable={{is_default_branch}}
39+
type=raw,value=latest
4340
4441
- name: Build and push executor image
4542
uses: docker/build-push-action@v5
@@ -76,12 +73,10 @@ jobs:
7673
with:
7774
images: ${{ env.DOCKERHUB_USERNAME }}/code-interpreter
7875
tags: |
79-
type=ref,event=branch
80-
type=ref,event=pr
8176
type=semver,pattern={{version}}
8277
type=semver,pattern={{major}}.{{minor}}
8378
type=semver,pattern={{major}}
84-
type=raw,value=latest,enable={{is_default_branch}}
79+
type=raw,value=latest
8580
8681
- name: Build and push code-interpreter image
8782
uses: docker/build-push-action@v5

0 commit comments

Comments
 (0)