Files
blog/.gitea/workflows/build.yaml
Evrard Van Espen 1b1d2dfa23
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2m13s
Add Dockerfile
2025-11-20 17:33:17 +00:00

35 lines
1.2 KiB
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: Login to container registry
uses: https://github.com/docker/login-action@v3
with:
registry: https://git.vanespen.dev
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3
- name: Build and push
uses: https://github.com/docker/build-push-action@v6
with:
context: .
push: true
pull: true
no-cache: true
tags: "git.vanespen.dev/evanespen/blog:latest"
- run: export GIT_TOKEN=${{ env.TOKEN }}
- run: export GIT_REPO=https://git.vanespen.dev/blog
- name: Setup argocd
run: |
wget https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.4.20/argocd-autopilot-linux-amd64.tar.gz \
&& tar xzvf argocd-autopilot-linux-amd64.tar.gz \
&& argocd-autopilot-linux-amd64 repo bootstrap