added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 27s
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 27s
This commit is contained in:
@@ -27,11 +27,11 @@ jobs:
|
||||
docker build -t gitea-server:3000/ryan/chore:${{ steps.vars.outputs.tag }} .
|
||||
|
||||
- name: Log in to Registry
|
||||
run: |
|
||||
cat /etc/hosts
|
||||
sleep 5000
|
||||
# Use your Gitea credentials (secrets are safer, but this works for testing)
|
||||
echo "0x013h" | docker login gitea-server:3000 -u ryan --password-stdin
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: my.gitea.domain # Replace with your Gitea registry URL
|
||||
username: ryan #${{ secrets.REGISTRY_USERNAME }} # Stored as a Gitea secret
|
||||
password: 0x013h #${{ secrets.REGISTRY_TOKEN }} # Stored as a Gitea secret (use a PAT here)
|
||||
|
||||
- name: Push Image to Gitea Registry
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user