diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 3cca3fd..c71f05b 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -6,6 +6,7 @@ on: env: REGISTRY: git.mischlabs.de + REGISTRY_USER: MrDiderot REGISTRY_IMAGE: git.mischlabs.de/mrdiderot/photography jobs: @@ -44,13 +45,12 @@ jobs: - name: Log in to Gitea Package Registry shell: sh run: | - if [ -z "${{ secrets.REGISTRY_USER }}" ] || [ -z "${{ secrets.REGISTRY_TOKEN }}" ]; then - echo "Missing registry credentials." - echo "Create repository secrets REGISTRY_USER and REGISTRY_TOKEN." + if [ -z "${{ secrets.REGISTRY_TOKEN }}" ]; then + echo "Missing REGISTRY_TOKEN secret." echo "REGISTRY_TOKEN must be a Gitea access token with package write permission." exit 1 fi - echo "${{ secrets.REGISTRY_TOKEN }}" | docker login "${{ env.REGISTRY }}" -u "${{ secrets.REGISTRY_USER }}" --password-stdin + echo "${{ secrets.REGISTRY_TOKEN }}" | docker login "${{ env.REGISTRY }}" -u "${{ env.REGISTRY_USER }}" --password-stdin - name: Build and push Docker image shell: sh diff --git a/_includes/footer.html b/_includes/footer.html index 69011ff..9b4855a 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -5,4 +5,4 @@ - \ No newline at end of file + diff --git a/admin.html b/admin.html index 0a2fb65..340bdaa 100644 --- a/admin.html +++ b/admin.html @@ -6,18 +6,29 @@ @@ -41,22 +68,22 @@ -