Tag images in one build statement
This commit is contained in:
parent
62108b1a23
commit
266d7d2e9b
1 changed files with 3 additions and 10 deletions
13
.github/workflows/build_docker_images.yml
vendored
13
.github/workflows/build_docker_images.yml
vendored
|
@ -88,13 +88,6 @@ jobs:
|
|||
context: .
|
||||
file: ./docker/demo/Dockerfile
|
||||
push: true
|
||||
tags: bengig/sebserver:demo
|
||||
-
|
||||
name: Build and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
file: ./docker/demo/Dockerfile
|
||||
push: true
|
||||
tags: bengig/sebserver:${{ github.sha }}
|
||||
tags:
|
||||
- bengig/sebserver:demo
|
||||
- bengig/sebserver:${{ github.sha }}
|
||||
|
|
Loading…
Add table
Reference in a new issue