This is an automated email from the ASF dual-hosted git repository.

jinsongzhou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git


The following commit(s) were added to refs/heads/master by this push:
     new 0e8fa55d6 [AMORO-3086] Add more tags for amoro docker images built by 
ci (#3088)
0e8fa55d6 is described below

commit 0e8fa55d6bb65bd3ef22e2178ae2aee56e3f08c3
Author: ZhouJinsong <[email protected]>
AuthorDate: Tue Aug 13 10:24:17 2024 +0800

    [AMORO-3086] Add more tags for amoro docker images built by ci (#3088)
    
    * Fix amoro image tag error
    
    * Add latest tag configuration for docker image ci
    
    * Fix latest tag configuration for dcoker image
    
    * Fix latest tag configuration for dcoker image
    
    * Fix latest tag configuration for dcoker image
    
    * Fix latest tag configuration for dcoker image
    
    * Fix latest tag configuration for dcoker image
    
    * Fix latest tag configuration for dcoker image
    
    * Rollback changes for test
---
 .github/workflows/docker-images.yml | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/docker-images.yml 
b/.github/workflows/docker-images.yml
index e8c278bc0..9866df029 100644
--- a/.github/workflows/docker-images.yml
+++ b/.github/workflows/docker-images.yml
@@ -60,14 +60,16 @@ jobs:
         id: meta
         with:
           flavor: |
-            latest=auto
+            latest=false
           images: |
             name=apache/amoro
           tags: |
             type=ref,event=branch,enable=${{ matrix.hadoop == 'v3' 
}},suffix=-snapshot
             type=ref,event=branch,enable=${{ matrix.hadoop == 'v2' 
}},suffix=-snapshot-hadoop2
+            type=raw,enable=${{ matrix.hadoop == 'v3' && 
startsWith(github.ref, 'refs/tags/v') }},value=latest
             type=semver,event=tag,enable=${{ matrix.hadoop == 'v3' 
}},pattern={{version}}
-            type=semver,event=tag,enable=${{ matrix.hadoop == 'v2' 
}},pattern={{version}}-hadoop2
+            type=semver,event=tag,enable=${{ matrix.hadoop == 'v3' 
}},pattern={{version}}, suffix=-hadoop3
+            type=semver,event=tag,enable=${{ matrix.hadoop == 'v2' 
}},pattern={{version}}, suffix=-hadoop2
 
       - name: Print tags
         run: echo '${{ steps.meta.outputs.tags }}'
@@ -121,16 +123,17 @@ jobs:
         id: meta
         with:
           flavor: |
-            latest=auto
+            latest=false
           images: |
             name=apache/amoro-flink-optimizer
           tags: |
             type=ref,event=branch,enable=${{ matrix.flink == '1.14.6' 
}},suffix=-snapshot
             type=ref,event=branch,enable=${{ matrix.flink == '1.14.6' 
}},suffix=-snapshot-flink1.14
             type=ref,event=branch,enable=${{ matrix.flink == '1.18.1' 
}},suffix=-snapshot-flink1.18
+            type=raw,enable=${{ matrix.hadoop == '1.14.6' && 
startsWith(github.ref, 'refs/tags/v') }},value=latest
             type=semver,enable=${{ matrix.flink == '1.14.6' 
}},pattern={{version}}
-            type=semver,enable=${{ matrix.flink == '1.14.6' 
}},pattern={{version}}-flink1.14
-            type=semver,enable=${{ matrix.flink == '1.18.1' 
}},pattern={{version}}-flink1.18
+            type=semver,enable=${{ matrix.flink == '1.14.6' 
}},pattern={{version}}, suffix=-flink1.14
+            type=semver,enable=${{ matrix.flink == '1.18.1' 
}},pattern={{version}}, suffix=-flink1.18
 
       - name: Print tags
         run: echo '${{ steps.meta.outputs.tags }}'
@@ -201,13 +204,15 @@ jobs:
         id: meta
         with:
           flavor: |
-            latest=auto
+            latest=false
           images: |
             name=apache/amoro-spark-optimizer
           tags: |
             type=ref,event=branch,enable=${{ matrix.spark == '3.3.3' 
}},suffix=-snapshot
             type=ref,event=branch,enable=${{ matrix.spark == '3.3.3' 
}},suffix=-snapshot-spark3.3
+            type=raw,enable=${{ matrix.hadoop == '3.3.3' && 
startsWith(github.ref, 'refs/tags/v') }},value=latest
             type=semver,enable=${{ matrix.spark == '3.3.3' 
}},pattern={{version}}
+            type=semver,enable=${{ matrix.spark == '3.3.3' 
}},pattern={{version}}, suffix=-spark3.3
 
       - name: Print tags
         run: echo '${{ steps.meta.outputs.tags }}'

Reply via email to