Skip to content

yaml-merge

yaml-merge #142

Workflow file for this run

name: yaml-merge
on:
push:
schedule:
- cron: '0 6 * * 0'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to the GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USER }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Build and push image
uses: docker/build-push-action@v6
with:
push: true
context: .
file: ./Dockerfile
tags: |
ghcr.io/netbootxyz/${{ github.workflow }}:latest
ghcr.io/netbootxyz/${{ github.workflow }}:${{ github.sha }}