mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-26 20:59:04 +00:00
Add post run
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
22acf7cb32
commit
444d7e9909
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@ -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()
|
||||||
|
@ -82,3 +82,4 @@ outputs:
|
|||||||
runs:
|
runs:
|
||||||
using: 'node12'
|
using: 'node12'
|
||||||
main: 'dist/index.js'
|
main: 'dist/index.js'
|
||||||
|
post: 'dist/index.js'
|
||||||
|
Loading…
Reference in New Issue
Block a user