ci: reuse checkout for build and push
This commit is contained in:
parent
9578b5b4cf
commit
e4ca84057b
|
@ -51,6 +51,7 @@ jobs:
|
||||||
id: docker_build
|
id: docker_build
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7
|
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7
|
||||||
push: true
|
push: true
|
||||||
tags: ${{secrets.DOCKERHUB_USERNAME}}/dumbproxy:${{ steps.imgtag.outputs.value }}
|
tags: ${{secrets.DOCKERHUB_USERNAME}}/dumbproxy:${{ steps.imgtag.outputs.value }}
|
||||||
|
|
Loading…
Reference in New Issue