Update dockerfile version #150
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and publish Core Docker image | |
on: | |
push: | |
branches: [ master ] | |
tags: | |
- "*" | |
pull_request: | |
branches: [ master ] | |
jobs: | |
push_to_registry: | |
name: Build and push Docker image to Docker Hub | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v2 | |
- name: Push to Docker Hub | |
uses: docker/build-push-action@v1 | |
with: | |
path: ./core | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
repository: eoepca/rm-data-access-core | |
tag_with_ref: true |