From bb6f034d797891a3a5457f72fee2d5c75387843e Mon Sep 17 00:00:00 2001 From: Maciej Lebiest <68295743+Szwendacz99@users.noreply.github.com> Date: Sat, 4 Mar 2023 13:35:26 +0100 Subject: [PATCH] Update docker-image.yml --- .github/workflows/docker-image.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 1a89d6c..b830fc5 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -24,7 +24,8 @@ jobs: - name: Push image run: | IMAGE_NAME="neovim" - IMAGE_ID=ghcr.io/szwendacz99/$IMAGE_NAME + IMAGE_ID="ghcr.io/szwendacz99/$IMAGE_NAME" TAG=$(date +"%Y-%m-%d") + docker tag $IMAGE_NAME:latest $IMAGE_ID:latest docker push $IMAGE_ID:latest docker tag $IMAGE_ID:latest $IMAGE_ID:$TAG