try fix ci cd
This commit is contained in:
parent
069f70aa76
commit
d572ebfb71
|
|
@ -35,11 +35,9 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Login to Gitea Registry
|
- name: Login to Gitea Registry
|
||||||
uses: docker/login-action@v3
|
run: |
|
||||||
with:
|
REGISTRY_DOMAIN=$(echo "${{ github.server_url }}" | sed -e 's|https://||' -e 's|http://||')
|
||||||
registry: ${{ github.server_url }}
|
echo "${{ secrets.TOKEN_GITEA }}" | docker login "$REGISTRY_DOMAIN" -u "${{ github.actor }}" --password-stdin
|
||||||
username: ${{ github.actor }}
|
|
||||||
password: ${{ secrets.TOKEN_GITEA }}
|
|
||||||
|
|
||||||
- name: Build and Push
|
- name: Build and Push
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue