From 9ac101a04b1bcbd7795c45c9c804ac415dc77a20 Mon Sep 17 00:00:00 2001 From: Jiri Sveceny Date: Tue, 19 Dec 2023 15:23:41 +0100 Subject: [PATCH] fix(build): buildx export builded image --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c77c3a2..238995c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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