Composite action

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2021-08-30 14:40:50 +02:00
commit 36ee882947
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
2 changed files with 95 additions and 0 deletions

View file

@ -673,3 +673,29 @@ jobs:
name: Dump context
if: always()
uses: crazy-max/ghaction-dump-context@v1
composite:
runs-on: ubuntu-latest
services:
registry:
image: registry:2
ports:
- 5000:5000
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Build with composite
uses: ./composite
with:
context: .
file: ./test/Dockerfile
images: |
localhost:5000/name/app
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
-
name: Dump context
if: always()
uses: crazy-max/ghaction-dump-context@v1