mirror of
https://github.com/docker/build-push-action.git
synced 2024-12-25 00:02:13 -05:00
Add post run
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
22acf7cb32
commit
444d7e9909
2 changed files with 7 additions and 7 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
@ -18,7 +18,6 @@ jobs:
|
|||
matrix:
|
||||
dockerfile:
|
||||
- multi
|
||||
- multi-golang
|
||||
- multi-sudo
|
||||
steps:
|
||||
-
|
||||
|
@ -46,7 +45,7 @@ jobs:
|
|||
context: ./test
|
||||
file: ./test/Dockerfile-${{ matrix.dockerfile }}
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
platforms: linux/amd64,linux/arm64,linux/386
|
||||
platforms: linux/amd64,linux/arm64
|
||||
#allow: network.host,security.insecure
|
||||
#push: true
|
||||
tags: |
|
||||
|
@ -89,7 +88,7 @@ jobs:
|
|||
context: ${{ github.repositoryUrl }}
|
||||
file: ./test/Dockerfile
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
platforms: linux/amd64,linux/arm64,linux/386
|
||||
platforms: linux/amd64,linux/arm64
|
||||
#allow: network.host,security.insecure
|
||||
#push: true
|
||||
tags: |
|
||||
|
@ -165,7 +164,7 @@ jobs:
|
|||
context: ./test
|
||||
file: ./test/Dockerfile-multi-golang
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
platforms: linux/amd64,linux/arm64,linux/386
|
||||
platforms: linux/amd64,linux/arm64
|
||||
cache-github: true
|
||||
tags: |
|
||||
localhost:5000/name/app:latest
|
||||
|
@ -177,11 +176,11 @@ jobs:
|
|||
context: ./test
|
||||
file: ./test/Dockerfile-multi-golang
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
platforms: linux/amd64,linux/arm64,linux/386
|
||||
platforms: linux/amd64,linux/arm64
|
||||
cache-github: true
|
||||
tags: |
|
||||
localhost:5000/name/app:latest
|
||||
localhost:5000/name/app:1.0.0
|
||||
localhost:5000/name/app2:latest
|
||||
localhost:5000/name/app2:1.0.0
|
||||
-
|
||||
name: Dump context
|
||||
if: always()
|
||||
|
|
|
@ -82,3 +82,4 @@ outputs:
|
|||
runs:
|
||||
using: 'node12'
|
||||
main: 'dist/index.js'
|
||||
post: 'dist/index.js'
|
||||
|
|
Loading…
Reference in a new issue