Browse Source

add latest tag to docker images

Signed-off-by: Matthew R. Kasun <[email protected]>
Matthew R. Kasun 3 years ago
parent
commit
bc4991e3d1

+ 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 }}