-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (30 loc) · 944 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
on:
workflow_dispatch:
inputs:
image_tag:
type: choice
description: ${{ github.repository }}:<image_tag>
options:
- develop
- release
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
permissions:
contents: read
packages: write
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
platforms: linux/arm64
tags: ${{ github.repository }}:${{ github.event.inputs.image_tag }}
push: true