mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-06 00:35:53 -05:00
[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:
parent
c56af95754
commit
2a752d5a63
1 changed files with 3 additions and 2 deletions
|
@ -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**
|
||||
|
|
Loading…
Reference in a new issue