[CI] don't try to login without credentials
Some checks failed
Containers / timestamp (push) Successful in 1s
Containers / release-trigger (push) Has been skipped
Containers / architectures (push) Failing after 2s
Containers / stable-release-trigger (push) Has been skipped
Containers / tags (push) Successful in 2s
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 9s
Containers / candidates (push) Has been skipped
Some checks failed
Containers / timestamp (push) Successful in 1s
Containers / release-trigger (push) Has been skipped
Containers / architectures (push) Failing after 2s
Containers / stable-release-trigger (push) Has been skipped
Containers / tags (push) Successful in 2s
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 9s
Containers / candidates (push) Has been skipped
This commit is contained in:
parent
63dc1ad69c
commit
6a30314afd
6
.github/workflows/containers.yml
vendored
6
.github/workflows/containers.yml
vendored
@ -576,6 +576,7 @@ jobs:
|
||||
run: sudo apt-get install -y skopeo
|
||||
- name: Login to GitHub Container Registry
|
||||
id: ghcr-login
|
||||
if: ${{ env.ghcr-credentials == 'true' }}
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
@ -583,12 +584,14 @@ jobs:
|
||||
password: ${{ secrets.GHCR_TOKEN }}
|
||||
- name: Login to Docker Hub
|
||||
id: docker-hub-login
|
||||
if: ${{ env.docker-hub-credentials == 'true' }}
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||
- name: Login to Gitea
|
||||
id: docker-hub-login
|
||||
if: ${{ env.gitea-credentials == 'true' }}
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.sporq.de
|
||||
@ -661,6 +664,7 @@ jobs:
|
||||
run: sudo apt-get install -y skopeo
|
||||
- name: Login to GitHub Container Registry
|
||||
id: ghcr-login
|
||||
if: ${{ env.ghcr-credentials == 'true' }}
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
@ -668,12 +672,14 @@ jobs:
|
||||
password: ${{ secrets.GHCR_TOKEN }}
|
||||
- name: Login to Docker Hub
|
||||
id: docker-hub-login
|
||||
if: ${{ env.docker-hub-credentials == 'true' }}
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||
- name: Login to Gitea
|
||||
id: docker-hub-login
|
||||
if: ${{ env.gitea-credentials == 'true' }}
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.sporq.de
|
||||
|
Loading…
Reference in New Issue
Block a user