Skip to content

Commit 2bb123e

Browse files
committed
further
1 parent aae36b8 commit 2bb123e

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

.github/workflows/docker-publish.yml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ jobs:
6161
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
6262
with:
6363
images: ${{ env.REGISTRY }}/${{ env.JAX_CONDA_IMAGE_NAME }}
64-
tags: |
65-
type=schedule
66-
type=ref,event=branch
67-
type=ref,event=tag
68-
type=ref,event=pr
6964

7065
- name: Extract first tag (JAX conda CPU)
7166
id: extract_first_tag_cpu
@@ -81,11 +76,9 @@ jobs:
8176
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
8277
with:
8378
images: ${{ env.REGISTRY }}/${{ env.JAX_CONDA_IMAGE_NAME }}
84-
tags: |
85-
type=schedule,suffix=-cuda
86-
type=ref,event=branch,suffix=-cuda
87-
type=ref,event=tag,suffix=-cuda
88-
type=ref,event=pr,suffix=-cuda
79+
flavor: |
80+
latest=auto
81+
suffix=-cuda,onlatest=true
8982
9083
- name: Extract first tag (JAX conda GPU)
9184
id: extract_first_tag_gpu
@@ -101,22 +94,15 @@ jobs:
10194
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
10295
with:
10396
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
104-
tags: |
105-
type=schedule
106-
type=ref,event=branch
107-
type=ref,event=tag
108-
type=ref,event=pr
10997

11098
- name: Extract Docker metadata (GPU)
11199
id: meta_cuda
112100
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
113101
with:
114102
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
115-
tags: |
116-
type=schedule,suffix=-cuda
117-
type=ref,event=branch,suffix=-cuda
118-
type=ref,event=tag,suffix=-cuda
119-
type=ref,event=pr,suffix=-cuda
103+
flavor: |
104+
latest=auto
105+
suffix=-cuda,onlatest=true
120106
121107
- name: Set up QEMU
122108
uses: docker/setup-qemu-action@v2

0 commit comments

Comments
 (0)