Skip to content

Commit b76e80b

Browse files
committed
chore: ci
1 parent f111622 commit b76e80b

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
jobs:
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 }}

0 commit comments

Comments
 (0)