Update .github/workflows/.github-ci.yaml
Some checks failed
ci / build (push) Failing after 2m18s

This commit is contained in:
richardrobertreitz 2025-02-23 14:23:26 +00:00
parent 17c2092b42
commit afe76ece74

View file

@ -7,6 +7,21 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Repository meta
id: repository
run: |
registry=${{ github.server_url }}
registry=${registry##http*://}
echo "registry=${registry}" >> "$GITHUB_OUTPUT"
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
echo "repository=${repository}" >> "$GITHUB_OUTPUT"
- name: Docker meta
uses: docker/metadata-action@v5
id: docker
with:
images: ${{ steps.repository.outputs.registry }}/${{ steps.repository.outputs.repository }}
-
name: Login to registry
run: |
@ -23,7 +38,7 @@ jobs:
name: Login to registry
uses: docker/login-action@v3
with:
registry: gitea.factory.c-one-infra.de
registry: ${{ steps.repository.outputs.registry }}
username: ${{ github.repository }}
password: ${{ secrets.PACKAGES_TOKEN }}
-
@ -37,7 +52,7 @@ jobs:
uses: docker/build-push-action@v6
with:
push: true
tags: gitea.factory.c-one-infra.de/giteaadmin/app:latest
tags: ${{ steps.docker.outputs.tags }}
#-
# name: Login to registry