Skip to content

Commit

Permalink
Merge branch 'master' of github.com:KimheangKen/web-hw-005
Browse files Browse the repository at this point in the history
new
  • Loading branch information
KimheangKen committed Oct 6, 2023
2 parents 7ca2887 + 52d66d6 commit 91247fc
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: ci

on:
push:
branches:
- "master"

jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true

0 comments on commit 91247fc

Please sign in to comment.