test(docker): push test image

This commit is contained in:
Eshan Roy
2024-11-29 07:14:43 +05:30
commit 28576e4fa2
3 changed files with 159 additions and 0 deletions

36
.github/workflows/snigdhaos-docker.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
name: Snigdha OS Docker Image
on:
workflow_dispatch:
schedule:
- cron: '30 05 * * *'
push:
branches:
- 'master'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: snigdhaos/snigdhaos:latest