File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 4646 needs : determine-version
4747 env :
4848 SEMVER : ${{ needs.determine-version.outputs.semVer }}
49- name : deploy ${{ needs.determine-version.outputs.semVer }}
49+ name : build ${{ needs.determine-version.outputs.semVer }}
5050 steps :
5151 - uses : actions/checkout@v3
5252 - name : Docker meta
@@ -57,25 +57,26 @@ jobs:
5757 tags : |
5858 type=raw,value=${{ env.SEMVER }},priority=900
5959 type=sha
60- type=raw,value=latest
61-
62- - name : Build and push
60+ type=raw,value=latest
61+ - name : Build
6362 id : docker_build
6463 uses : docker/build-push-action@v2
6564 with :
6665 context : .
6766 tags : ${{ steps.meta.outputs.tags }}
6867 labels : ${{ steps.meta.outputs.labels }}
6968 file : ./Dockerfile
69+ outputs : type=docker,dest=${{ env.DOCKER_IMAGE_PATH }}
7070 build-args : |
7171 BUILD_VERSION=${{ env.SEMVER }}
72- DOCKER_IMAGE_PATH=${{ env.DOCKER_IMAGE_PATH }}
72+ DOCKER_BUILDKIT=1
7373 - name : Upload artifact
7474 uses : actions/upload-artifact@v2
7575 with :
7676 name : ${{ env.DOCKER_IMAGE_NAME }}
7777 path : ${{ env.DOCKER_IMAGE_PATH }}
78- push-image :
78+ push :
79+ name : push ${{ needs.determine-version.outputs.semVer }} to ${{ inputs.registry }}
7980 runs-on : ubuntu-latest
8081 needs :
8182 - determine-version
You can’t perform that action at this time.
0 commit comments