Skip to content

Commit

Permalink
[docs] test-before-push: push tested image as latest
Browse files Browse the repository at this point in the history
also renamed image name from `myapp` -> `app`

Signed-off-by: Marko Kaznovac <kaznovac@users.noreply.github.com>
  • Loading branch information
Marko Kaznovac authored and GitHub committed Oct 20, 2022
1 parent c56af95 commit 2a752d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/advanced/test-before-push.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ on:
- 'main'

env:
TEST_TAG: user/myapp:test
TEST_TAG: user/app:test
LATEST_TAG: user/app:latest

jobs:
docker:
Expand Down Expand Up @@ -56,7 +57,7 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.TEST_TAG }}
tags: ${{ env.LATEST_TAG }}
```
> **Note**
Expand Down

0 comments on commit 2a752d5

Please sign in to comment.