File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55jobs :
66 build :
77 runs-on : ubuntu-latest
8+ outputs :
9+ version : ${{ steps.version.outputs.version }}
10+ version_tag : ${{ steps.version.outputs.version_tag }}
11+ increment : ${{ steps.version.outputs.increment }}
812 steps :
913 - uses : actions/checkout@v4
1014 with :
@@ -55,15 +59,14 @@ jobs:
5559 - name : Build and push Docker image
5660 uses : docker/build-push-action@v4
5761 with :
58- context : .docker
59- file : .docker/Dockerfile
62+ file : Dockerfile
6063 tags : |
61- druid:${{ steps.version.outputs.version }}
6264 druid:latest
6365 druid:stable
64- druid:${{ steps.version.outputs.version_tag }}
66+ druid:${{ needs.build.outputs.version }}
67+ druid:${{ needs.build.outputs.version_tag }}
6568 push : true
6669 build-args : |
67- VERSION=${{ steps.version .outputs.version }}
70+ VERSION=${{ needs.build .outputs.version }}
6871 GIT_COMMIT=${{ github.sha }}
6972 GIT_BRANCH=${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments