Files
blog/.gitea/workflows/build.yaml
Evrard Van Espen dd5db92bea
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
Update CI
2025-11-20 11:46:01 +00:00

28 lines
876 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- name: Install buildah
run: apt update && apt install -y buildah
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: evanespen/blog:latest
# - name: Build image
# run: buildah build -f Dockerfile -t blog
# - name: Log in to registry
# uses: docker/login-action@v3
# with:
# registry: ${{ env.GITEA_DOMAIN }}
# username: ${{ env.GITEA_REGISTRY_USER }}
# password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}