fix: füge Docker-Login für Gitea-Registry zur CI hinzu
This commit is contained in:
@@ -28,10 +28,16 @@ jobs:
|
|||||||
if: gitea.ref == 'refs/heads/main'
|
if: gitea.ref == 'refs/heads/main'
|
||||||
steps:
|
steps:
|
||||||
- uses: https://github.com/actions/checkout@v6
|
- uses: https://github.com/actions/checkout@v6
|
||||||
|
|
||||||
- name: Docker login to Docker Hub
|
- name: Docker login to Docker Hub
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login docker.io \
|
echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login docker.io \
|
||||||
--username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin
|
--username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin
|
||||||
|
- name: Docker login to Gitea Registry
|
||||||
|
run: |
|
||||||
|
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login git.hnrx.net \
|
||||||
|
--username "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
||||||
|
|
||||||
- name: Setup Docker Buildx
|
- name: Setup Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user