Skip to content

Commit

Permalink
Merge pull request #10 from yfukai:ci2
Browse files Browse the repository at this point in the history
further bugfix for docker tag
  • Loading branch information
yfukai authored Jan 30, 2024
2 parents c2be4c0 + 2bb123e commit 007e6e8
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ jobs:
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.REGISTRY }}/${{ env.JAX_CONDA_IMAGE_NAME }}
tags: |
type=schedule
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr

- name: Extract first tag (JAX conda CPU)
id: extract_first_tag_cpu
Expand All @@ -81,11 +76,9 @@ jobs:
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.REGISTRY }}/${{ env.JAX_CONDA_IMAGE_NAME }}
tags: |
type=schedule,suffix=-cuda
type=ref,event=branch,suffix=-cuda
type=ref,event=tag,suffix=-cuda
type=ref,event=pr,suffix=-cuda
flavor: |
latest=auto
suffix=-cuda,onlatest=true
- name: Extract first tag (JAX conda GPU)
id: extract_first_tag_gpu
Expand All @@ -101,22 +94,15 @@ jobs:
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=schedule
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr

- name: Extract Docker metadata (GPU)
id: meta_cuda
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=schedule,suffix=-cuda
type=ref,event=branch,suffix=-cuda
type=ref,event=tag,suffix=-cuda
type=ref,event=pr,suffix=-cuda
flavor: |
latest=auto
suffix=-cuda,onlatest=true
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down

0 comments on commit 007e6e8

Please sign in to comment.