setup ci/cd
All checks were successful
ClarkeIS Build / Build-Docker-Image (push) Successful in 26s

This commit is contained in:
2025-02-05 21:16:27 -05:00
parent ed369bbea6
commit 5e194a532b
3 changed files with 34 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
name: ClarkeIS Build
run-name: building clarkeis.com
on: [push]
jobs:
Build-Docker-Image:
runs-on: ubuntu-latest
steps:
- name: Pull repo
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: swaous.asuscomm.com
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build
run: |
docker build -t swaous.asuscomm.com/clarkeis.com:latest .
docker push swaous.asuscomm.com/clarkeis.com:latest