Skip to content

Commit 46ec97b

Browse files
committed
fix(ci): build metadata
1 parent 4ab86b1 commit 46ec97b

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

Diff for: .github/workflows/build_release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ jobs:
5555
context: .
5656
file: Containerfile
5757
push: ${{ github.event_name != 'pull_request' }}
58-
tags: ${{ steps.meta.outputs.tags }}
59-
labels: ${{ steps.meta.outputs.labels }}
58+
tags: ${{ steps.metadata.outputs.tags }}
59+
labels: ${{ steps.metadata.outputs.labels }}
6060
target: ${{ matrix.context.target }}
6161

6262
release:

Diff for: README.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,19 @@ Arguments
77
---------
88

99
Arguments that can be set while building:
10-
- `DRUID_VERSION`: You can also change the default value in the Dockerfiles.
10+
- `DRUID_VERSION`: You can also change the default value in the Containerfile.
1111

1212
Building
1313
--------
1414

1515
```
16-
DRUID_VERSION=XXX # 0.22.1 for example.
16+
export DRUID_VERSION=XXX # 26.0.0 for example.
1717
1818
# For the micro image
19-
docker build -t wiremind/mino-druid:micro-${DRUID_VERSION} --build-arg DRUID_VERSION=${DRUID_VERSION} -f ./Dockerfile .
20-
docker push wiremind/mino-druid:micro-${DRUID_VERSION}
19+
docker build -t micro-druid:${DRUID_VERSION}-micro --build-arg DRUID_VERSION=${DRUID_VERSION} -f ./Containerfile --target druid-micro .
2120
2221
# For the nano image
23-
docker build -t wiremind/mino-druid:nano-${DRUID_VERSION} --build-arg DRUID_VERSION=${DRUID_VERSION} -f ./Dockerfile.nano .
24-
docker push wiremind/mino-druid:nano-${DRUID_VERSION}
22+
docker build -t micro-druid:${DRUID_VERSION}-nano --build-arg DRUID_VERSION=${DRUID_VERSION} -f ./Containerfile --target druid-nano .
2523
```
2624

2725
Required hardware

0 commit comments

Comments
 (0)