Skip to content

Support building docker image for arm64 #11

Support building docker image for arm64

Support building docker image for arm64 #11

Workflow file for this run

name: cx
on:
push:
branches:
- stable
pull_request:
branches:
- stable
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build SHA and latest
id: build
uses: docker/build-push-action@v4
with:
context: .
file: ./.github/workflows/Dockerfile
platforms: linux/amd64, linux/arm64
tags: dominicparga/billo:${{ github.sha }},dominicparga/billo:latest
push: true