From ce3b64132ae5935ae2bbf206611beeccd52e5421 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Fri, 7 Mar 2025 13:19:57 -0600 Subject: [PATCH] build the container with CI --- .gitea/workflows/ci.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .gitea/workflows/ci.yaml diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..4a45814 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,30 @@ +--- +name: Gitea Actions Demo +run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +on: [push] + +jobs: + bake: + runs-on: ubuntu-latest + container: + image: catthehacker/ubuntu:act-latest + env: + DOCKER_ORG: ryanc + DOCKER_LATEST: latest + steps: + - name: Login to DockerHub + uses: docker/login-action@v3 + with: + registry: git.kill0.net + username: ${{ vars.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_TOKEN }} + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Build and push + uses: docker/bake-action@v6 + with: + push: true + set: | + *.tags=git.kill0.net/ryanc/caas:latest