mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-25 09:40:56 -05:00
Merge pull request #708 from kaznovac/patch-1
[docs] test-before-push: push tested image as latest
This commit is contained in:
commit
6e95f19fb8
1 changed files with 3 additions and 2 deletions
|
@ -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**
|
||||||
|
|
Loading…
Reference in a new issue