[docs] test-before-push: push tested image as latest

also renamed image name from `myapp` -> `app`

Signed-off-by: Marko Kaznovac <kaznovac@users.noreply.github.com>
This commit is contained in:
Marko Kaznovac 2022-10-20 16:03:06 +02:00 committed by GitHub
parent c56af95754
commit 2a752d5a63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,8 @@ on:
- 'main' - 'main'
env: env:
TEST_TAG: user/myapp:test TEST_TAG: user/app:test
LATEST_TAG: user/app:latest
jobs: jobs:
docker: docker:
@ -56,7 +57,7 @@ jobs:
context: . context: .
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: ${{ env.TEST_TAG }} tags: ${{ env.LATEST_TAG }}
``` ```
> **Note** > **Note**