Skip to content

Commit 4a9df13

Browse files
committed
Ducker Build only by tag
1 parent b743507 commit 4a9df13

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

.github/workflows/docker-build.yaml

-6
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@ name: Build and Push Docker Images
22

33
on:
44
push:
5-
branches: [ "main" ]
65
tags:
76
- '*'
8-
pull_request:
9-
branches: [ "main" ]
107

118
jobs:
129
build:
@@ -36,7 +33,6 @@ jobs:
3633
platforms: linux/amd64,linux/arm64
3734
push: true
3835
tags: |
39-
${{ secrets.DOCKER_USERNAME }}/demo_app_load:latest
4036
${{ secrets.DOCKER_USERNAME }}/demo_app_load:${{ github.ref_name }}
4137
4238
- name: Build and push Docker images for web app
@@ -47,7 +43,6 @@ jobs:
4743
platforms: linux/amd64,linux/arm64
4844
push: true
4945
tags: |
50-
${{ secrets.DOCKER_USERNAME }}/demo_app_web:latest
5146
${{ secrets.DOCKER_USERNAME }}/demo_app_web:${{ github.ref_name }}
5247
5348
- name: Build and push Docker images for dataset app
@@ -58,5 +53,4 @@ jobs:
5853
platforms: linux/amd64,linux/arm64
5954
push: true
6055
tags: |
61-
${{ secrets.DOCKER_USERNAME }}/demo_app_dataset:latest
6256
${{ secrets.DOCKER_USERNAME }}/demo_app_dataset:${{ github.ref_name }}

0 commit comments

Comments
 (0)