Browse Source

docker tag renaming (#330)

Rustam Gimadiev 4 years ago
parent
commit
a793c1f8fa
2 changed files with 4 additions and 2 deletions
  1. 1 1
      .github/workflows/master.yaml
  2. 3 1
      .github/workflows/release.yaml

+ 1 - 1
.github/workflows/latest.yaml → .github/workflows/master.yaml

@@ -54,7 +54,7 @@ jobs:
           builder: ${{ steps.buildx.outputs.name }}
           builder: ${{ steps.buildx.outputs.name }}
           context: kafka-ui-api
           context: kafka-ui-api
           push: true
           push: true
-          tags: provectuslabs/kafka-ui:latest
+          tags: provectuslabs/kafka-ui:master
           build-args: |
           build-args: |
             JAR_FILE=kafka-ui-api-${{ steps.build.outputs.version }}.jar
             JAR_FILE=kafka-ui-api-${{ steps.build.outputs.version }}.jar
           cache-from: type=local,src=/tmp/.buildx-cache
           cache-from: type=local,src=/tmp/.buildx-cache

+ 3 - 1
.github/workflows/release.yaml

@@ -90,7 +90,9 @@ jobs:
           builder: ${{ steps.buildx.outputs.name }}
           builder: ${{ steps.buildx.outputs.name }}
           context: kafka-ui-api
           context: kafka-ui-api
           push: true
           push: true
-          tags: provectuslabs/kafka-ui:${{ steps.prep.outputs.version }}
+          tags: |
+            provectuslabs/kafka-ui:${{ steps.prep.outputs.version }}
+            provectuslabs/kafka-ui:latest
           build-args: |
           build-args: |
             JAR_FILE=kafka-ui-api-${{ steps.prep.outputs.version }}.jar
             JAR_FILE=kafka-ui-api-${{ steps.prep.outputs.version }}.jar
           cache-from: type=local,src=/tmp/.buildx-cache
           cache-from: type=local,src=/tmp/.buildx-cache