Skip to content

Commit

Permalink
remove apache group and user. Use www-data.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis committed Apr 13, 2026
1 parent 16fb231 commit 698285c
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/registry-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,17 +104,6 @@ jobs:
libxslt1.1 \
libmemcached11
- name: Create apache user/group (to match your chown step)
shell: bash
run: |
set -euxo pipefail
if ! getent group apache >/dev/null; then
sudo groupadd --system apache
fi
if ! id -u apache >/dev/null 2>&1; then
sudo useradd --system --no-create-home --gid apache apache
fi
- name: Download and unpack COmanage Registry (${COMANAGE_REGISTRY_VERSION})
shell: bash
env:
Expand Down Expand Up @@ -143,7 +132,7 @@ jobs:
run: |
set -euxo pipefail
sudo ln -s /var/cache/registry/tmp "${COMANAGE_REGISTRY_DIR}/local/tmp"
sudo chown -h wwww-data:www-data "${COMANAGE_REGISTRY_DIR}/local/tmp"
sudo chown -h www-data:www-data "${COMANAGE_REGISTRY_DIR}/local/tmp"
sudo mkdir -p /var/www/html
sudo rm -f "/var/www/html/${COMANAGE_REGISTRY_URL_PATH}"
Expand Down

0 comments on commit 698285c

Please sign in to comment.