From 2a752d5a638b3610614a089e67962979aa9fc034 Mon Sep 17 00:00:00 2001 From: Marko Kaznovac Date: Thu, 20 Oct 2022 16:03:06 +0200 Subject: [PATCH] [docs] test-before-push: push tested image as latest also renamed image name from `myapp` -> `app` Signed-off-by: Marko Kaznovac --- docs/advanced/test-before-push.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/advanced/test-before-push.md b/docs/advanced/test-before-push.md index 787bbac..84b08a5 100644 --- a/docs/advanced/test-before-push.md +++ b/docs/advanced/test-before-push.md @@ -17,7 +17,8 @@ on: - 'main' env: - TEST_TAG: user/myapp:test + TEST_TAG: user/app:test + LATEST_TAG: user/app:latest jobs: docker: @@ -56,7 +57,7 @@ jobs: context: . platforms: linux/amd64,linux/arm64 push: true - tags: ${{ env.TEST_TAG }} + tags: ${{ env.LATEST_TAG }} ``` > **Note**