Feat update the new UI (#28) #126
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
name: Build Docker image | |
runs-on: ubuntu-latest # specify the build machine | |
steps: | |
- # checkout to the repository on the build machine | |
name: Checkout | |
uses: actions/checkout@v3 | |
- # login to Docker Hub using the secrets provided | |
name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- # create a build kit builder instance | |
name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- # build the container image and push it to Docker \ | |
# Hub with the name clockbox. | |
name: Build and push | |
uses: docker/build-push-action@v4 | |
with: | |
context: . | |
file: ./Dockerfile | |
push: true | |
tags: ${{ secrets.DOCKERHUB_USERNAME }}/landing-page:latest |