WIP: Use Gitea Actions to build Docker image #8

Draft
eric wants to merge 21 commits from develop into main

32
.gitea/workflows/ci.yaml Normal file
View File

@ -0,0 +1,32 @@
name: ci
on:
push:
branches:
- develop
merge:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: kubernetes
driver-opts: |
namespace=gitea
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: ericomeehan/kraken-bot:latest