Skip to content

Commit 88ea1c0

Browse files
committed
ci(build): copy plugin config
1 parent a503b13 commit 88ea1c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@ jobs:
4747

4848
- name: Build
4949
run: |
50-
docker build --pull --tag rootfsimage .
50+
docker buildx build --pull --tag rootfsimage --build-arg VERSION=$(git describe --tags --dirty --always --abbrev=12) .
5151
id=$(docker create rootfsimage true)
5252
mkdir -p ./plugin/rootfs/
5353
docker export "$id" | tar -x -C ./plugin/rootfs/
54+
cp config.json ./plugin/
5455
docker rm -vf "$id"
5556
5657
- name: Publish latest

0 commit comments

Comments
 (0)