Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit d7b45e6

Browse files
authored
Merge pull request #11 from axiom-data-science/docker-tags
Generate better Docker tags (main -> latest)
2 parents 9214129 + 19c3ad2 commit d7b45e6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ on:
55
branches:
66
- main
77
push:
8-
branches:
9-
- main
108
release:
119
types:
1210
- published
@@ -28,7 +26,8 @@ jobs:
2826
images: |
2927
axiom/rsync-server
3028
tags: |
31-
type=ref,event=branch
29+
type=raw,value=latest,enable=${{ github.ref_name == 'main' }}
30+
type=ref,event=branch,enable=${{ github.ref_name != 'main' }}
3231
type=ref,event=tag
3332
3433
- name: Set up QEMU

0 commit comments

Comments
 (0)