Skip to content

Build and deploy linux buildroot docker image #16

Build and deploy linux buildroot docker image

Build and deploy linux buildroot docker image #16

Workflow file for this run

name: Build and deploy linux buildroot docker image
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: "0 1 * * 1"
workflow_dispatch:
jobs:
Build_and_publish_dahliaOS_buildroot_docker_image:
runs-on: ubuntu-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@main
- name: 'Login to GitHub Container Registry'
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: 'Build Docker Image'
run: |
docker build . --tag ghcr.io/dahliaos/build_linux:latest
docker run ghcr.io/dahliaos/build_linux:latest
docker push ghcr.io/dahliaos/build_linux:latest