feat: drop support for overriding USER #38
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Check length of Docker Hub README file | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
branches: | |
- master | |
- develop | |
paths: | |
- 'README-containers.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Check README-containers.md length | |
run: | | |
count=$(wc -m <README-containers.md) | |
if [[ ${count} -ge 25000 ]]; then | |
echo -n "README-containers.md contains ${count} characters" | |
echo "which exceeds the 25000 character limit of Docker Hub" | |
exit 1; | |
fi |