Skip to content

Replace CDN with local file for website logo. #14

Replace CDN with local file for website logo.

Replace CDN with local file for website logo. #14

name: Build and Push Multi-Arch Docker Image
on:
push:
branches:
- master
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@master
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/386,linux/amd64,linux/arm64,linux/ppc64le,linux/arm/v7
push: true
tags: ${{ secrets.DOCKERHUB_PROJECT }}