Skip to content

Chore: 도커 이미지 레지스트리 수정 #5

Chore: 도커 이미지 레지스트리 수정

Chore: 도커 이미지 레지스트리 수정 #5

Workflow file for this run

name: CD
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.ORG_PAT }}
- name: Extract Docker image metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/dungbik/flipnote-user
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}