Update .github/workflows/.github-ci.yaml
Some checks failed
ci / docker (push) Has been cancelled

This commit is contained in:
richardrobertreitz 2025-02-23 08:56:23 +00:00
parent 412abef199
commit e86b0ce6f1

View file

@ -3,26 +3,35 @@ name: ci
on: push on: push
jobs: jobs:
build: docker:
runs-on: ubuntu-22.04 runs-on: docker
steps: steps:
- - name: Checkout
name: Login to Docker Hub uses: actions/checkout@v4
uses: docker/login-action@v3
with: with:
registry: gitea.client.c-one-infra.de submodules: recursive
username: ${{ github.repository }}
password: ${{ secrets.PACKAGES_TOKEN }} - name: Repository meta
- id: repository
name: Set up QEMU run: |
uses: docker/setup-qemu-action@v3 registry=${{ github.server_url }}
- registry=${registry##http*://}
name: Set up Docker Buildx echo "registry=${registry}" >> "$GITHUB_OUTPUT"
uses: docker/setup-buildx-action@v3 repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
- echo "repository=${repository}" >> "$GITHUB_OUTPUT"
name: Build and push
uses: docker/build-push-action@v6 - name: Docker meta
uses: docker/metadata-action@v5
id: docker
with: with:
images: ${{ steps.repository.outputs.registry }}/${{ steps.repository.outputs.repository }}
- name: Build and push
uses: https://codeberg.org/umglurf/kaniko-action@main
with:
credentials: |
${{ steps.repository.outputs.registry }}=${{ github.repository }}:${{ secrets.PACKAGES_TOKEN }}
destinations: |
${{ steps.docker.outputs.tags }}
push: true push: true
tags: gitea.client.c-one-infra.de/giteaadmin/app:latest