2019-11-21 11:18:54 +01:00
|
|
|
---
|
|
|
|
on:
|
2020-05-05 23:33:39 +02:00
|
|
|
release:
|
2020-07-21 14:39:12 +02:00
|
|
|
types: [released]
|
2019-11-21 11:18:54 +01:00
|
|
|
|
|
|
|
name: Publish latest image to Docker Hub
|
|
|
|
|
|
|
|
jobs:
|
2021-11-11 15:57:06 +01:00
|
|
|
docker-latest:
|
2021-12-21 18:32:29 +01:00
|
|
|
runs-on: docker
|
2019-11-21 11:18:54 +01:00
|
|
|
steps:
|
2021-11-11 15:57:06 +01:00
|
|
|
- name: Set up QEMU
|
|
|
|
uses: docker/setup-qemu-action@v1
|
|
|
|
|
|
|
|
- name: Set up Docker Buildx
|
|
|
|
uses: docker/setup-buildx-action@v1
|
|
|
|
|
|
|
|
- name: Login to DockerHub
|
|
|
|
uses: docker/login-action@v1
|
|
|
|
with:
|
2021-11-11 16:02:32 +01:00
|
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
2021-11-11 15:57:06 +01:00
|
|
|
|
|
|
|
- name: Build and push
|
|
|
|
id: docker_build
|
|
|
|
uses: docker/build-push-action@v2
|
2019-11-21 11:18:54 +01:00
|
|
|
with:
|
2021-11-11 15:57:06 +01:00
|
|
|
push: true
|
2021-11-11 16:28:30 +01:00
|
|
|
platforms: linux/amd64,linux/arm64
|
2021-11-11 15:57:06 +01:00
|
|
|
tags: getmeili/meilisearch:latest
|