Skip to content

Commit

Permalink
Merge pull request #291 from meilisearch/feature/multi-arch-images
Browse files Browse the repository at this point in the history
Feature/Multi-Arch images
  • Loading branch information
brunoocasali authored Dec 1, 2022
2 parents 8a9ff04 + b0604f3 commit b2f4e2a
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 37 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Publish image to DockerHub

on:
push:
tags:
- 'v*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
platforms: linux/amd64,linux/arm64
tags: getmeili/docs-scraper:latest,getmeili/docs-scraper:${{ github.ref_name }}
18 changes: 0 additions & 18 deletions .github/workflows/publish-docker-latest.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/publish-docker-tag.yml

This file was deleted.

0 comments on commit b2f4e2a

Please sign in to comment.