meilisearch/.github/workflows/publish-docker-latest.yml

30 lines
658 B
YAML
Raw Normal View History

---
on:
release:
2020-07-21 20:39:12 +08:00
types: [released]
name: Publish latest image to Docker Hub
jobs:
2021-11-11 22:57:06 +08:00
docker-latest:
runs-on: ubuntu-20.04
steps:
2021-11-11 22:57:06 +08: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:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
2021-11-11 22:57:06 +08:00
push: true
tags: getmeili/meilisearch:latest