Skip to content

don't filter on metadata update, we actually want it to run consistently #309

don't filter on metadata update, we actually want it to run consistently

don't filter on metadata update, we actually want it to run consistently #309

Workflow file for this run

name: Build and push Docker images
on:
push:
branches:
- main
tags:
- '*'
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
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/core:latest,openstates/core:${{ github.sha }}"
push: true