Skip to content

Merge pull request #481 from swirlai/fix-DS-643 #252

Merge pull request #481 from swirlai/fix-DS-643

Merge pull request #481 from swirlai/fix-DS-643 #252

Workflow file for this run

name: Docker Build
# Build a multi-arch docker image for SWIRL
# comment to start build
on:
workflow_dispatch:
push:
# only trigger on branches, not on tags
branches: 'develop'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: login to docker hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: builder bootstrap
run: docker buildx create --name devBuilder --use --bootstrap
- name: Build the Docker image
run: docker buildx build -t swirlai/swirl-search:develop --platform linux/amd64,linux/arm64 --push .
- name: Update repo description
uses: peter-evans/[email protected]
with:
username: ${{ secrets.DOCKER_USERNAME_X }}
password: ${{ secrets.DOCKER_PASSWORD_X }}
repository: swirlai/swirl-search