1
0
mirror of https://github.com/byulmaru/quesdon synced 2024-11-23 14:36:02 +09:00

GitHub Actions 자동 빌드 추가

This commit is contained in:
robin* 2022-11-06 02:21:25 +09:00
parent 0b497ea32d
commit cd34cb35f1

31
.github/workflows/build-image.yml vendored Normal file
View File

@ -0,0 +1,31 @@
name: build-image
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build-image:
runs-on: ubuntu-latest
steps:
- name: Source Code Checkout
uses: actions/checkout@master
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/arm64/v8
push: true
tags: 'ghcr.io/${{ github.repository }}:latest'