2024-11-21 00:23:16 +00:00
|
|
|
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
|
|
|
|
uses: docker/login-action@v3.3.0
|
|
|
|
with:
|
|
|
|
registry: git.kakio.us
|
|
|
|
username: kakious
|
2024-11-21 00:36:02 +00:00
|
|
|
password: ${{ secrets.REPO_PUSH }}
|
2024-11-21 00:23:16 +00:00
|
|
|
|
|
|
|
- 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 }}
|