In my projects Docker file I have some environment variables, like this:
ENV ACCEPT_EULA=Y ENV SA_PASSWORD=Password ENV MSSQL_PID=Developer ENV MSSQL_TCP_POR
In release, choose deploy azure app service task. Provide required properties at App settings section under Application and Configuration Settings option.