Skip to content

cicd test

cicd test #7

Workflow file for this run

name: Docker Image CI
on:
push:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login Dockerhub
env:
DOCKER_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
DOCKER_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- name: Build the Docker image
run: docker build -t ai-nest .
- name: taging
run: docker tag ai-nest:latest jinseung0327/ai-nest:latest
- name: Push to Dockerhub
run: docker push jinseung0327/ai-nest:latest