added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 16s
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 16s
This commit is contained in:
@@ -24,13 +24,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Build Docker Image
|
- name: Build Docker Image
|
||||||
run: |
|
run: |
|
||||||
docker build -t 172.26.0.4:3000/ryan/chore:${{ steps.vars.outputs.tag }} .
|
docker build -t gitea-server:3000/ryan/chore:${{ steps.vars.outputs.tag }} .
|
||||||
|
|
||||||
- name: Log in to Registry
|
- name: Log in to Registry
|
||||||
run: |
|
run: |
|
||||||
# Use your Gitea credentials (secrets are safer, but this works for testing)
|
# Use your Gitea credentials (secrets are safer, but this works for testing)
|
||||||
echo "0x013h" | docker login 172.26.0.4:3000 -u ryan --password-stdin
|
echo "0x013h" | docker login gitea-server:3000 -u ryan --password-stdin
|
||||||
|
|
||||||
- name: Push Image to Gitea Registry
|
- name: Push Image to Gitea Registry
|
||||||
run: |
|
run: |
|
||||||
docker push 172.26.0.4:3000/ryan/chore:${{ steps.vars.outputs.tag }}
|
docker push gitea-server:3000/ryan/chore:${{ steps.vars.outputs.tag }}
|
||||||
Reference in New Issue
Block a user