Skip to content

Chore: CI 파이프라인 추가 #2

Chore: CI 파이프라인 추가

Chore: CI 파이프라인 추가 #2

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 DockerHub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: Extract Docker image metadata
id: meta
uses: docker/metadata-action@v5
with:
images: 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 }}