fibermonitor/.forgejo/workflows/build.yaml
Kakious ece514bf40
Some checks failed
/ build (push) Failing after 1m22s
feat: code!
2024-11-20 19:23:16 -05:00

29 lines
796 B
YAML

on: [push]
jobs:
build:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to git.kakio.us
if: steps.semantic-release.outputs.published == 'true'
uses: docker/login-action@v3.3.0
with:
registry: git.kakio.us
username: kakious
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
git.kakio.us/kakious/fibermonitor:latest
git.kakio.us/kakious/fibermonitor:${{ github.sha }}