Skip to content

Merge pull request #26 from dixi83/fix/build-branch #1

Merge pull request #26 from dixi83/fix/build-branch

Merge pull request #26 from dixi83/fix/build-branch #1

Workflow file for this run

name: Docker Build Master
on:
push:
branches:
- master
jobs:
build_docker:
name: Build Docker Image
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and tag Docker image (latest)
run: |
docker buildx create --use
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 . \
-t ghcr.io/${{ github.repository }}:latest \
--push