Skip to content

broke down the linux.Dockerfile to take each step slowly, see where t… #3

broke down the linux.Dockerfile to take each step slowly, see where t…

broke down the linux.Dockerfile to take each step slowly, see where t… #3

Workflow file for this run

name: Update Dockerfiles
on:
push:
paths:
- 'images/**'
- '.github/docker.yaml'
jobs:
docker:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- name: Linux Dockerfile
file: ./images/linux.Dockerfile
tag: linux
- name: Web Dockerfile
file: ./images/web.Dockerfile
tag: web
- name: Android Dockerfile
file: ./images/android.Dockerfile
tag: android
- name: Windows Dockerfile
file: ./images/windows.Dockerfile
tag: windows
env:
APP_NAME_BASE: "blazium" # Define a global base app name
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:
file: ${{ matrix.file }}
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.APP_NAME_BASE }}-${{ matrix.tag }}:latest