Skip to content

Add automated build

Add automated build #1

Workflow file for this run

# Ref: https://docs.docker.com/build/ci/github-actions/
name: Build Docker Images
on:
push:
branches:
- "master"
paths:
- .github/workflows/build.yaml
- Dockerfile
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
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: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/vulkan-runtime:latest