Skip to content

Commit

Permalink
feat: ci cd (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
yunseorim1116 authored Mar 13, 2024
1 parent 4737525 commit 1dacd2b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and Push Docker image

on:
push:
branches:
- master

jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: treeyoon/sd-jwt-test-api:latest

0 comments on commit 1dacd2b

Please sign in to comment.