actions-test/.gitea/workflows/build.yml

29 lines
697 B
YAML
Raw Normal View History

2023-08-03 17:57:16 -04:00
name: Test build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
2023-08-03 19:25:40 -04:00
# is this only for vms???
2023-08-03 18:33:20 -04:00
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v2
2023-08-03 17:57:16 -04:00
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
registry: git.min.rip
username: ${{ gitea.actor }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push
2023-08-03 19:25:40 -04:00
uses: docker/build-push-action@v4
env:
ACTIONS_RUNTIME_TOKEN: ''
2023-08-03 17:57:16 -04:00
with:
push: true
tags: min/actions-test:latest