website/.gitea/workflows/pipeline.yml
Mike Smith 64f0ba6246
Some checks failed
Build and Deploy Docker Image / build (push) Failing after 53s
testing
2024-10-21 13:54:31 -04:00

35 lines
814 B
YAML

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