Skip to content

Commit 0dd7727

Browse files
authored
Deploy latest master to dockerhub (#414)
1 parent e83036e commit 0dd7727

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/upload_to_dockerhub.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Build Base and Extpar images and upload to Docker Hub
22

33
on:
44
push:
5+
branches:
6+
- master
57
tags:
68
- '*'
79

@@ -39,5 +41,7 @@ jobs:
3941
context: .
4042
file: ./Dockerfile.extpar
4143
push: true
42-
tags: c2sm/extpar:${{ github.ref_name }}
43-
platforms: linux/amd64,linux/arm64
44+
tags: |
45+
c2sm/extpar:${{ github.ref_name }}
46+
${{ github.ref_name == 'refs/heads/master' && 'c2sm/extpar:latest' || '' }}
47+
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)