add gitea actions
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
parent
00dc544fbd
commit
1965ef80bc
23
.gitea/workflows/earthly.yml
Normal file
23
.gitea/workflows/earthly.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
name: GitHub Actions CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
name: example earthly test
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: earthly/actions-setup@v1
|
||||||
|
with:
|
||||||
|
version: "latest" # or pin to an specific version, e.g. "0.8.1"
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Docker login # to avoid dockerhub rate-limiting
|
||||||
|
run: docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password "${{ secrets.DOCKERHUB_PASSWORD }}"
|
||||||
|
- name: what version is installed?
|
||||||
|
run: earthly --version
|
||||||
|
- name: run the earthly hello world
|
||||||
|
run: earthly github.com/earthly/hello-world:main+hello
|
Loading…
x
Reference in New Issue
Block a user