Skip to content

Update the repo URL (#8) #9

Update the repo URL (#8)

Update the repo URL (#8) #9

Workflow file for this run

name: Docker Build and Push Image to DockerHub
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Docker Login
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build Image and Push to DockerHub
uses: docker/[email protected]
with:
file: dockerfile
tags: ${{ secrets.DOCKERHUB_USERNAME }}/thuinfo-web:latest
push: true