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