Skip to content

Build and push Multiwoven UI docker image to Docker Hub (amd64) #17

Build and push Multiwoven UI docker image to Docker Hub (amd64)

Build and push Multiwoven UI docker image to Docker Hub (amd64) #17

name: Build and push Multiwoven UI docker image to Docker Hub (amd64)
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-ui
- name: Build and push UI Docker image
uses: docker/build-push-action@v5
with:
context: ./ui
file: ./ui/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}