Update .gitea/workflows/docker-build.yml
Some checks failed
Build Docker Image / build (push) Failing after 35s
Some checks failed
Build Docker Image / build (push) Failing after 35s
This commit is contained in:
@@ -13,9 +13,21 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build Docker image
|
||||
- name: Login to Gitea registry
|
||||
run: |
|
||||
echo "${{ secrets.REGISTRY_TOKEN }}" | \
|
||||
docker login gitea.ddns.kawomi.com \
|
||||
-u joe \
|
||||
--password-stdin
|
||||
|
||||
- name: Build image
|
||||
run: |
|
||||
docker build \
|
||||
-t webclip:latest \
|
||||
-t webclip:${{ gitea.sha }} \
|
||||
-t gitea.ddns.kawomi.com/joe/webclip:latest \
|
||||
-t gitea.ddns.kawomi.com/joe/webclip:${{ gitea.sha }} \
|
||||
.
|
||||
|
||||
- name: Push image
|
||||
run: |
|
||||
docker push gitea.ddns.kawomi.com/joe/webclip:latest
|
||||
docker push gitea.ddns.kawomi.com/joe/webclip:${{ gitea.sha }}
|
||||
Reference in New Issue
Block a user