Files
haiku-love-button/.gitea/workflows/docker-build.yaml
Kenneth f339deae0c
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 36s
initial commit
2025-11-29 21:01:35 +00:00

30 lines
668 B
YAML

name: Build and Push Docker Image
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker Registry
uses: docker/login-action@v3
with:
registry: cr.nym.sh
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
cr.nym.sh/haiku-love-button:latest
cr.nym.sh/haiku-love-button:${{ github.sha }}