Skip to content

Build and push Multiwoven server docker image to Docker Hub (AMD) #19

Build and push Multiwoven server docker image to Docker Hub (AMD)

Build and push Multiwoven server docker image to Docker Hub (AMD) #19

name: Build and push Multiwoven server docker image to Docker Hub (AMD)
on:
workflow_dispatch:
push:
tags:
- v*
jobs:
docker-hub-push-on-merge:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
multiwoven/multiwoven-server
- name: Build and push server Docker image
uses: docker/build-push-action@v5
with:
context: ./server
file: ./server/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}