chore: add docker-hub login to pipeline
Commit / ci (push) Successful in 10m42s

This commit is contained in:
2026-04-05 10:20:51 +02:00
parent 19238edf57
commit aae537b312
3 changed files with 9 additions and 3 deletions
+3 -1
View File
@@ -3,7 +3,9 @@ name: Commit
on: on:
push: push:
# only trigger on branches, not on tags # only trigger on branches, not on tags
branches: '**' branches:
- 'main'
- 'dev'
jobs: jobs:
# Job 1: Lint and Test (Type Check) # Job 1: Lint and Test (Type Check)
+3 -1
View File
@@ -17,8 +17,10 @@ jobs:
http = true http = true
insecure = true insecure = true
- name: login - name: login gitea registry
run: docker login -u schreifuchs -p ${{ secrets.REGISTRY_TOKEN }} git.schreifuchs.ch run: docker login -u schreifuchs -p ${{ secrets.REGISTRY_TOKEN }} git.schreifuchs.ch
- name: login dockerhub
run: docker login -u aktitiel -p ${{ secrets.DOCKER_HUB_TOKEN}}
- name: Build and push Docker image - name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v5 uses: https://github.com/docker/build-push-action@v5
with: with:
+3 -1
View File
@@ -18,8 +18,10 @@ jobs:
http = true http = true
insecure = true insecure = true
- name: login - name: login gitea registry
run: docker login -u schreifuchs -p ${{ secrets.REGISTRY_TOKEN }} git.schreifuchs.ch run: docker login -u schreifuchs -p ${{ secrets.REGISTRY_TOKEN }} git.schreifuchs.ch
- name: login dockerhub
run: docker login -u aktitiel -p ${{ secrets.DOCKER_HUB_TOKEN}}
- name: Build and push Docker image - name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v5 uses: https://github.com/docker/build-push-action@v5
with: with: