mirror of
https://github.com/Snigdha-OS/snigdhaos-docker.git
synced 2026-01-10 09:23:51 +01:00
test(docker): push test image
This commit is contained in:
36
.github/workflows/snigdhaos-docker.yml
vendored
Normal file
36
.github/workflows/snigdhaos-docker.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user