Skip to content

Add missing deploy step for Dockerfile to work properly, and update R… #40

Add missing deploy step for Dockerfile to work properly, and update R…

Add missing deploy step for Dockerfile to work properly, and update R… #40

name: Release on Docker Hub
on:
push:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
platforms: linux/amd64
tags: communityfirst/mapeo-config-editor:latest
- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: communityfirst/mapeo-config-editor
short-description: 'GUI application for editing configuration files for Mapeo.'