瀏覽代碼

add latest tag to docker images

Signed-off-by: Matthew R. Kasun <[email protected]>
Matthew R. Kasun 3 年之前
父節點
當前提交
9c3b69c81e
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      .github/workflows/publish-docker.yml
  2. 1 1
      .github/workflows/publish-netclient-docker.yml

+ 1 - 1
.github/workflows/publish-docker.yml

@@ -76,5 +76,5 @@ jobs:
           context: .
           platforms: linux/amd64, linux/arm64
           push: true
-          tags: ${{ github.repository }}:${{ env.TAG }}
+          tags: ${{ github.repository }}:${{ env.TAG }}, ${{ github.respository }}:latest
           build-args: version=${{ env.TAG }}

+ 1 - 1
.github/workflows/publish-netclient-docker.yml

@@ -79,5 +79,5 @@ jobs:
           platforms: linux/amd64, linux/arm64
           file: ./docker/Dockerfile-netclient-multiarch
           push: true
-          tags: gravitl/netclient:${{ env.TAG }}
+          tags: gravitl/netclient:${{ env.TAG }}, gravitl/netclient:latest
           build-args: version=${{ env.TAG }}