Add post run

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-08-16 22:38:03 +02:00
parent 22acf7cb32
commit 444d7e9909
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
2 changed files with 7 additions and 7 deletions

View file

@ -18,7 +18,6 @@ jobs:
matrix: matrix:
dockerfile: dockerfile:
- multi - multi
- multi-golang
- multi-sudo - multi-sudo
steps: steps:
- -
@ -46,7 +45,7 @@ jobs:
context: ./test context: ./test
file: ./test/Dockerfile-${{ matrix.dockerfile }} file: ./test/Dockerfile-${{ matrix.dockerfile }}
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
platforms: linux/amd64,linux/arm64,linux/386 platforms: linux/amd64,linux/arm64
#allow: network.host,security.insecure #allow: network.host,security.insecure
#push: true #push: true
tags: | tags: |
@ -89,7 +88,7 @@ jobs:
context: ${{ github.repositoryUrl }} context: ${{ github.repositoryUrl }}
file: ./test/Dockerfile file: ./test/Dockerfile
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
platforms: linux/amd64,linux/arm64,linux/386 platforms: linux/amd64,linux/arm64
#allow: network.host,security.insecure #allow: network.host,security.insecure
#push: true #push: true
tags: | tags: |
@ -165,7 +164,7 @@ jobs:
context: ./test context: ./test
file: ./test/Dockerfile-multi-golang file: ./test/Dockerfile-multi-golang
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
platforms: linux/amd64,linux/arm64,linux/386 platforms: linux/amd64,linux/arm64
cache-github: true cache-github: true
tags: | tags: |
localhost:5000/name/app:latest localhost:5000/name/app:latest
@ -177,11 +176,11 @@ jobs:
context: ./test context: ./test
file: ./test/Dockerfile-multi-golang file: ./test/Dockerfile-multi-golang
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
platforms: linux/amd64,linux/arm64,linux/386 platforms: linux/amd64,linux/arm64
cache-github: true cache-github: true
tags: | tags: |
localhost:5000/name/app:latest localhost:5000/name/app2:latest
localhost:5000/name/app:1.0.0 localhost:5000/name/app2:1.0.0
- -
name: Dump context name: Dump context
if: always() if: always()

View file

@ -82,3 +82,4 @@ outputs:
runs: runs:
using: 'node12' using: 'node12'
main: 'dist/index.js' main: 'dist/index.js'
post: 'dist/index.js'