Skip to content

Merge pull request #17 from Seshat-Global-History-Databank/update-GH-… #3

Merge pull request #17 from Seshat-Global-History-Databank/update-GH-…

Merge pull request #17 from Seshat-Global-History-Databank/update-GH-… #3

Workflow file for this run

---
name: build_docker_image
on:
push:
branches: [dev]
paths:
- 'Dockerfile'
- 'requirements.txt'
- '.github/workflows/build.yml'
pull_request:
branches: [dev]
paths:
- 'Dockerfile'
- 'requirements.txt'
- '.github/workflows/build.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Login to GitHub Packages
uses: docker/login-action@v1
with:
registry: docker.pkg.github.com
username: ${{ github.actor }}
password: ${{ secrets.GH_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: docker.pkg.github.com/seshat-global-history-databank/seshat/tests-image:latest