Skip to content

add github action

add github action #1

Workflow file for this run

name: Build and push mvp
on:
push:
branches:
- 'feature/new'
jobs:
build-docker-image:
runs-on: ubuntu-20.04
env:
DOCKER_IMAGE_VERSION: 1.0.0
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ehrbase/integration-tests:latest-mvp