From b1cd6fd67746e2de5f0b6781f71e60fc7b08f4b7 Mon Sep 17 00:00:00 2001 From: karlkern Date: Sat, 17 Aug 2024 15:01:03 +0100 Subject: [PATCH] add docker file param --- .github/workflows/build-rp-nginx-docker-image.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-rp-nginx-docker-image.yml b/.github/workflows/build-rp-nginx-docker-image.yml index a5358a8..e47a33a 100644 --- a/.github/workflows/build-rp-nginx-docker-image.yml +++ b/.github/workflows/build-rp-nginx-docker-image.yml @@ -33,7 +33,13 @@ jobs: - name: build and push image run: | echo ${{ steps.variables.outputs.image_id }} - docker build --tag ${{ steps.variables.outputs.image_id }}:${{ steps.variables.outputs.version_no }} --build-arg "BUILD_VERSION=${{ steps.variables.outputs.version_no }}" --platform linux/amd64 --no-cache . + docker build \ + --tag ${{ steps.variables.outputs.image_id }}:${{ steps.variables.outputs.version_no }} \ + --build-arg "BUILD_VERSION=${{ steps.variables.outputs.version_no }}" \ + --platform linux/amd64 \ + --no-cache + --file ./docker-builds/rp-nginx/docker-alpine-rp-nginx \ + . docker push ${{ steps.variables.outputs.image_id }}:${{ steps.variables.outputs.version_no }} shell: bash - name: tag latest