Skip to content

💫 Redesign of image construction #15

💫 Redesign of image construction

💫 Redesign of image construction #15

name: Build and Publish
on:
push:
branches: [main, develop]
pull_request:
jobs:
build-and-push-docker-images:
name: Build and push Docker images
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push image
run: |
make build-all-images
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}