set up gitea pipeline
All checks were successful
sitix website build / Build-Docker-Image (push) Successful in 34s
All checks were successful
sitix website build / Build-Docker-Image (push) Successful in 34s
This commit is contained in:
20
.gitea/workflows/build.yaml
Normal file
20
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: sitix website build
|
||||
run-name: building swaous.asuscomm.com/sitix
|
||||
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/sitix-website:latest .
|
||||
docker push swaous.asuscomm.com/sitix-website:latest
|
||||
Reference in New Issue
Block a user