Skip to content

merge :: CD (#12)

merge :: CD (#12) #1

Workflow file for this run

name: CD
on:
push:
branches: [ 'main' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login Docker
env:
DOCKER_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
DOCKER_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- name: Build Docker Image
run: docker build -t jyk1029/emoting .
- name: Push Docker Image
run: docker push jyk1029/emoting:latest