You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
907 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."
#- 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