🚧 github: Build a second container image

test/github-actions
Gerber, Mike 2 years ago
parent 807eb3eadf
commit 08a0398e37

@ -26,11 +26,24 @@ jobs:
# TODO matrix for all Dockerfiles # TODO matrix for all Dockerfiles
- -
name: Build name: Build core
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
with: with:
context: . context: .
file: Dockerfile-core file: Dockerfile-core
build-args: build-args:
DRONE_COMMIT=${{ github.sha }} DRONE_COMMIT=${{ github.sha }}
push: false push: true
tags:
- ${{ github.sha }}
-
name: Build dinglehopper
uses: docker/build-push-action@v4
with:
context: .
file: Dockerfile-dinglehopper
build-args:
DRONE_COMMIT=${{ github.sha }}
push: true
tags:
- ${{ github.sha }}

Loading…
Cancel
Save