fix: use docker cli login for http registry support
This commit is contained in:
1 parent
0ec3ba7bf5
commit
eaf82d0c34
1 file changed
+2
-5
@@ -25,11 +25,8 @@ jobs:
|
||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||
|
||||
- name: Log in to Gitea Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: http://gitea:3000
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITEA_TOKEN }}
|
||||
run: |
|
||||
echo "${{ secrets.GITEA_TOKEN }}" | docker login gitea:3000 -u ${{ github.actor }} --password-stdin
|
||||
|
||||
- name: Build and Push Docker Image
|
||||
uses: docker/build-push-action@v5
|
||||
|
||||
Reference in new issue
Block a user