Files
act-runner-test/.gitea/workflows/demo.yaml
Lazy Hippopotamus 3bb77c88b8
Some checks failed
Gitea Actions Demo / Build-Docker-Image (push) Failing after 36s
add checkout action... skull
2025-02-05 15:12:18 -05:00

23 lines
773 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Build-Docker-Image:
runs-on: ubuntu-latest
# container: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Pull repo
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: swaous.asuscomm.com
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build
run: |
docker build -t swaous.asuscomm.com/act-runner-test:${{ gitea.sha }} .
docker push swaous.asuscomm.com/act-runner-test:${{ gitea.sha }}
echo "pushed swaous.asuscomm.com/act-runner-test:${{ gitea.sha }}