Skip to content

fix: multi-arch builds #413

fix: multi-arch builds

fix: multi-arch builds #413

Workflow file for this run

name: build
on:
push:
tags:
- '*'
workflow_dispatch: ~
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- name: Sign into Docker
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
- name: Build Docker image and push to Docker Hub
run: docker buildx build --push -t justintime50/glass:${GITHUB_REF##*/v} --build-arg PROD=true --platform linux/amd64,linux/arm64 .