Skip to content

add docker buildx

add docker buildx #2

Workflow file for this run

name: Docker Image CI
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Current branch
uses: actions/checkout@v1
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker Image
run: |
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" && make publish
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}