-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (41 loc) · 1.44 KB
/
runtime-base.yml
File metadata and controls
49 lines (41 loc) · 1.44 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Runtime Base 이미지 빌드 — linux/amd64 + linux/arm64 멀티플랫폼 빌드 후 Harbor push
# Dockerfile.runtime-base 변경 시 자동 트리거
name: CI / Runtime Base
on:
push:
branches: [develop, release]
paths:
- 'Dockerfile.runtime-base'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ["os:ubuntu", "arch:arm64", "purpose:build"]
steps:
- uses: actions/checkout@v6
- name: Login to Harbor
uses: docker/login-action@v3
with:
registry: ireg.querypie.io
username: ${{ vars.IREG_QUERYPIE_IO_USERNAME }}
password: ${{ secrets.IREG_QUERYPIE_IO_PASSWORD }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: linux/amd64,linux/arm64
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile.runtime-base
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ireg.querypie.io/ci/deck-runtime-base:latest
cache-from: type=registry,ref=ireg.querypie.io/ci/deck-runtime-base:buildcache
cache-to: type=registry,ref=ireg.querypie.io/ci/deck-runtime-base:buildcache,mode=max