obsolute-paste/.forgejo/workflows/build-push.yml

30 lines
683 B
YAML
Raw Permalink Normal View History

on:
push:
jobs:
Building:
runs-on: slave
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Startup DIND
run: /dockerd-entrypoint.sh dockerd &
shell: bash
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: git.ptr.moe
username: ${{ gitea.repository_owner }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build & Push
uses: docker/build-push-action@master
with:
push: true
context: .
platforms: linux/amd64
tags: git.ptr.moe/baalajimaestro/obsolute-paste:latest