Compare commits

...

2 Commits

Author SHA1 Message Date
Marius Alwan Meyer
4de96e858a use debian:bookworm-slim as base image
Some checks failed
Containers / architectures (push) Failing after 18s
Containers / release-trigger (push) Has been skipped
Containers / stable-release-trigger (push) Has been skipped
Containers / timestamp (push) Successful in 55s
Containers / tags (push) Successful in 1s
Containers / releases (push) Has been skipped
Containers / git-tag (push) Has been skipped
Containers / stable-releases (push) Has been skipped
Containers / stable-git-tag (push) Has been skipped
Containers / dev-generic (push) Failing after 21s
Containers / candidates (push) Has been skipped
2023-07-21 10:45:53 +02:00
Marius Alwan Meyer
fa61ded813 [CI] add my gitea instatance 2023-07-21 10:44:19 +02:00
2 changed files with 32 additions and 1 deletions

View File

@ -9,6 +9,7 @@ env:
run-unit-tests: ${{ secrets.RUN_UNIT_TESTS != null }}
docker-hub-credentials: ${{ secrets.DOCKER_HUB_USERNAME != null && secrets.DOCKER_HUB_TOKEN != null }}
ghcr-credentials: ${{ secrets.GHCR_USERNAME != null && secrets.GHCR_TOKEN != null }}
gitea-credentials: ${{ secrets.GITEA_USERNAME != null && secrets.GITEA_TOKEN != null }}
docker-hub-namespace: ${{ secrets.DOCKER_HUB_NAMESPACE || github.repository_owner }}
docker-hub-namespace-upstream: ${{ secrets.DOCKER_HUB_NAMESPACE_UPSTREAM || 'zmkfirmware' }}
ghcr-namespace: ${{ github.repository_owner }}
@ -106,6 +107,14 @@ jobs:
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Login to Gitea
id: docker-hub-login
if: ${{ env.gitea-credentials == 'true' }}
uses: docker/login-action@v2
with:
registry: git.sporq.de
username: ${{ secrets.GITEA_USERNAME }}
password: ${{ secrets.GITEA_TOKEN }}
- name: Define paths
id: paths
env:
@ -212,6 +221,14 @@ jobs:
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Login to Gitea
id: docker-hub-login
if: ${{ env.gitea-credentials == 'true' }}
uses: docker/login-action@v2
with:
registry: git.sporq.de
username: ${{ secrets.GITEA_USERNAME }}
password: ${{ secrets.GITEA_TOKEN }}
- name: Define repositories
id: repositories
shell: bash
@ -570,6 +587,13 @@ jobs:
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Login to Gitea
id: docker-hub-login
uses: docker/login-action@v2
with:
registry: git.sporq.de
username: ${{ secrets.GITEA_USERNAME }}
password: ${{ secrets.GITEA_TOKEN }}
- name: Release (pull candidate, tag, push)
env:
DHNS: ${{ env.docker-hub-namespace }}
@ -648,6 +672,13 @@ jobs:
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Login to Gitea
id: docker-hub-login
uses: docker/login-action@v2
with:
registry: git.sporq.de
username: ${{ secrets.GITEA_USERNAME }}
password: ${{ secrets.GITEA_TOKEN }}
- name: Release (pull candidate, tag, push)
env:
DHNS: ${{ env.docker-hub-namespace }}

View File

@ -1,4 +1,4 @@
FROM ubuntu:focal-20220113 AS common
FROM debian:bookworm AS common
CMD ["/bin/bash"]