Skip to content

Commit 9ac101a

Browse files
committed
fix(build): buildx export builded image
1 parent 24257df commit 9ac101a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ jobs:
2727
--platform linux/${{ matrix.platform }} \
2828
--file Dockerfile \
2929
--build-arg IMAGE=nginx:${{ matrix.nginx_version }} \
30-
--tag modules:${{ matrix.nginx_version }}-${{ matrix.platform }} \
30+
--tag module-temp-image \
31+
--load \
3132
.
3233
3334
- name: Run temp container
34-
run: docker run --name temp-container -d modules:${{ matrix.nginx_version }}-${{ matrix.platform }}
35+
run: docker run --name temp-container -d module-temp-image
3536

3637
- name: Extract module from container
3738
run: docker cp temp-container:/usr/lib/nginx/modules/otel_ngx_module.so otel_ngx_module.so

0 commit comments

Comments
 (0)