Add .gitea/workflows/build.yaml
Some checks failed
/ docker (push) Failing after 1m5s

This commit is contained in:
ties 2024-08-27 07:41:49 +00:00
parent f7da72ebdf
commit 1ca6f69f8c

View File

@ -0,0 +1,33 @@
on:
push:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v2
with: # replace it with your local IP
config-inline: |
[registry."gitea-http.git:3000"]
http = true
insecure = true
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: public/custom_act_runner:latest