diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 2cc97a0..dff6d6a 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -19,14 +19,23 @@ # only: # - branches -name: Gitea Actions Demo -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +name: Build dioxus container on: [push] jobs: TestStage: runs-on: ubuntu-latest steps: - - run: echo "foo" - - run: echo "bar" - - run: echo "baz" > foo + - name: Login to gitea docker registry + uses: docker/login-action@v3 + with: + registry: git.ohea.xyz + username: ${{ secrets.CI_REGISTRY_USER }} + password: ${{ secrets.CI_REGISTRY_PASSWORD }} + - name: Build and push dioxus base container + uses: docker/build-push-action@v6 + with: + context: . + file: docker/Dockerfile + push: true + tags: "git.ohea.xyz/mumble/mumbleweb2/dioxus-build:latest"