Skip to content

Add docker build on push #4

Add docker build on push

Add docker build on push #4

Workflow file for this run

name: 'Core'
on:
push:
branches: [ main ]
paths:
- core/**
pull_request:
branches: [ main ]
paths:
- core/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Connect to dockerhub
run: docker login -u ${{secrets.DOCKER_LOGIN}} -p ${{secrets.DOCKER_PASSWORD}}
- name: Build the Docker image
run: docker build . --file core/Dockerfile -t ${{secrets.DOCKER_LOGIN}}/asymetric-unity-core --output type=registry