From 5f31a49ad3797fe8b8fd350818683e683cdd51c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=AA=20Minh=20Sang?= Date: Fri, 7 Nov 2025 15:18:55 +0700 Subject: [PATCH] Create sang.yml --- .github/workflows/sang.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/sang.yml diff --git a/.github/workflows/sang.yml b/.github/workflows/sang.yml new file mode 100644 index 00000000..03e3098f --- /dev/null +++ b/.github/workflows/sang.yml @@ -0,0 +1,26 @@ +name: Build and Push Docker Image + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Build and Push Docker image + uses: docker/build-push-action@v5 + with: + push: true + tags: minhsang31th7/wordsmith:latest