Skip to content

Commit

Permalink
fix(build): buildx export builded image
Browse files Browse the repository at this point in the history
  • Loading branch information
sitole committed Dec 19, 2023
1 parent 24257df commit 9ac101a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ jobs:
--platform linux/${{ matrix.platform }} \
--file Dockerfile \
--build-arg IMAGE=nginx:${{ matrix.nginx_version }} \
--tag modules:${{ matrix.nginx_version }}-${{ matrix.platform }} \
--tag module-temp-image \
--load \
.
- name: Run temp container
run: docker run --name temp-container -d modules:${{ matrix.nginx_version }}-${{ matrix.platform }}
run: docker run --name temp-container -d module-temp-image

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

0 comments on commit 9ac101a

Please sign in to comment.