Skip to content

Merge branch 'feature/metadata-search' into test/metadata-search #21

Merge branch 'feature/metadata-search' into test/metadata-search

Merge branch 'feature/metadata-search' into test/metadata-search #21

name: Build and push Docker image
on:
push:
tags:
- "*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up the repository
uses: actions/checkout@v3
- 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@v4
with:
build-args: |
CORE_VERSION=${{ github.ref_name }}
context: .
file: ./docker/Dockerfile
push: true
tags: |
cytomineuliege/core:latest
cytomineuliege/core:${{ github.ref_name }}