- Replace bash substring syntax ${DRONE_COMMIT_SHA:0:7} with
${DRONE_COMMIT_SHA} which is supported by Drone YAML variables
- Use 'adduser -D -g ""' in Dockerfile to skip interactive prompts
for user information during Docker image build
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
- Replace bash substring syntax ${DRONE_COMMIT_SHA:0:7} with ${DRONE_COMMIT_SHA} which is supported by Drone YAML variables - Use 'adduser -D -g ""' in Dockerfile to skip interactive prompts for user information during Docker image build