Files
gitea-actions/.gitea/workflows/demo.yaml
nathan 7e7d05c5c9
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 6m16s
Update '.gitea/workflows/demo.yaml'
2023-08-04 02:21:34 +00:00

30 lines
939 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
container:
image: catthehacker/ubuntu:act-latest
#image: registry.local/buildkit-wagnerca:stable-1
volumes:
- /var/run/user/1000/docker.sock:/var/run/docker.sock
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: cat /etc/resolv.conf
#- name: setup qemu
# uses: docker/setup-qemu-action@v2
#- name: setup buildx
# uses: docker/setup-buildx-action@master
#- uses: actions/checkout@v3
#- name: docker buildx
# run: docker buildx build . -f Dockerfile -t registry.local/user/app:latest --push
- uses: docker/build-push-action@master
with:
push: false
file: Dockerfile
tags: user/app:latest