From e6d88a3e2c5a0b8e8d6f0fb58bf6e6818ef3a06e Mon Sep 17 00:00:00 2001 From: Michael Nikitochkin Date: Thu, 25 Apr 2024 15:59:13 +0200 Subject: [PATCH] Extract nginx version from Dockerfile argument (#608) --- .github/workflows/docker.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index e6e05b63..97b08880 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -37,7 +37,10 @@ jobs: - name: Output Variables id: var run: | - echo "nginx_version=$(grep -m1 'FROM nginx:' > $GITHUB_OUTPUT + echo "nginx_version=$(grep -m1 'ARG BUILD_NGINX_VERSION=' > $GITHUB_OUTPUT + + - name: Nginx version + run: echo "${{ steps.var.outputs.nginx_version }}" - name: Setup QEMU uses: docker/setup-qemu-action@v3