From 1965ef80bc3c2eb9f392a55ba1661c167af63050 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Thu, 19 Sep 2024 10:44:54 -0400 Subject: [PATCH] add gitea actions Signed-off-by: Xe Iaso --- .gitea/workflows/earthly.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitea/workflows/earthly.yml diff --git a/.gitea/workflows/earthly.yml b/.gitea/workflows/earthly.yml new file mode 100644 index 0000000..ef90617 --- /dev/null +++ b/.gitea/workflows/earthly.yml @@ -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 \ No newline at end of file