Switch to CLI for registry login
Some checks failed
Publish Docker Image / publish (push) Failing after 14s
Some checks failed
Publish Docker Image / publish (push) Failing after 14s
This commit is contained in:
parent
c7c627a514
commit
009d78a23e
@ -20,8 +20,15 @@ jobs:
|
|||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
# - name: Log in to Gitea Package Registry
|
||||||
|
# uses: docker/login-action@v3
|
||||||
|
# with:
|
||||||
|
# registry: ${{ vars.PACKAGES_REGISTRY_URL }}
|
||||||
|
# username: ${{ vars.PACKAGES_REGISTRY_USERNAME }}
|
||||||
|
# password: ${{ secrets.PACKAGES_REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
- name: Log in to Gitea Package Registry
|
- name: Log in to Gitea Package Registry
|
||||||
uses: docker/login-action@v3
|
run: echo ${{ secrets.PACKAGES_REGISTRY_PASSWORD }} | docker login ${{ vars.PACKAGES_REGISTRY_URL }} -u ${{ vars.PACKAGES_REGISTRY_USERNAME }} --password-stdin
|
||||||
with:
|
with:
|
||||||
registry: ${{ vars.PACKAGES_REGISTRY_URL }}
|
registry: ${{ vars.PACKAGES_REGISTRY_URL }}
|
||||||
username: ${{ vars.PACKAGES_REGISTRY_USERNAME }}
|
username: ${{ vars.PACKAGES_REGISTRY_USERNAME }}
|
||||||
|
Loading…
Reference in New Issue
Block a user