website/.gitea/workflows/pipeline.yml
Mike Smith cc8bc8f88c
All checks were successful
Build and Deploy Docker Image / build (push) Successful in 1m54s
fix: owner
2024-10-21 19:50:05 -04:00

32 lines
714 B
YAML

name: Build and Deploy Docker Image
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-docker
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to Gitea Container Registry
uses: docker/login-action@v3
with:
password: ${{ secrets.PASSWORD }}
username: ${{ secrets.USERNAME }}
registry: git.thecodedom.com
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: git.thecodedom.com/dotechbro/dotechbro-website:latest