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.
37 lines
1.3 KiB
YAML
37 lines
1.3 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
|
|
#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
|
|
- uses: actions/checkout@v3
|
|
#- run: ping google.com
|
|
#- run: ping zigbee.inhome
|
|
#- run: ping gitea-http.gitea.svc.cluster.local
|
|
- run: curl http://zigbee.inhome
|
|
- run: curl http://gitea-http.gitea.svc.cluster.local:3000/nathan/gitea-actions.git#cdf930a637a26ea5ba466a40854515fdd00215fb
|
|
#- name: setup qemu
|
|
# uses: docker/setup-qemu-action@v2
|
|
- name: setup buildx
|
|
uses: docker/setup-buildx-action@v2
|
|
- run: docker ps
|
|
#- 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
|
|
|
|
|