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