Files
webclip/.gitea/workflows/docker-build.yml
joe 2ad26d3bf8
Some checks failed
Build Docker Image / build (push) Failing after 35s
Update .gitea/workflows/docker-build.yml
2026-08-27 21:16:24 -05:00

33 lines
781 B
YAML

name: Build Docker Image
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- 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 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 }}