Skip to content

Merge pull request #5001 from openstates/entrypoint-support-for-googl… #1654

Merge pull request #5001 from openstates/entrypoint-support-for-googl…

Merge pull request #5001 from openstates/entrypoint-support-for-googl… #1654

Workflow file for this run

name: Build and push Docker image
on:
push:
branches:
- main
tags:
- '*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: build docker image
uses: docker/build-push-action@v3
with:
context: .
tags: "openstates/scrapers:latest,openstates/scrapers:${{ github.sha }}"
push: true