Skip to content

hook mw

hook mw #6

Workflow file for this run

name: build
on:
push:
branches:
- main
paths:
- "**/*.go"
- ".dockerignore"
- "Dockerfile"
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- name: Login GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Prepare
run: ./scripts/gen-version-file.sh
env:
BRING_VERSION: edge
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
tags: ghcr.io/lesomnus/bring:edge
push: true