Files
ry.kazcloud.dev/.gitea/workflows/deploy.yml
Ryan Kazokas 308922df2a
Some checks failed
Build and Push / build (push) Failing after 8s
Update actions
2026-02-16 14:58:02 -05:00

30 lines
699 B
YAML

name: Build and Push
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
env:
DOCKER_HOST: tcp://localhost:2375
steps:
- uses: actions/checkout@v4
- name: Log in to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: gitea.kazcloud.dev
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push
env:
DOCKER_HOST: tcp://localhost:2375
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: gitea.kazcloud.dev/ryan/${{ gitea.repository_name }}:latest