Skip to content

Commit 7a1848c

Browse files
Merge pull request #170 from openstates/test-docker-plural-push
Add docker push to Plural internal repo
2 parents 244ffa4 + 94d599a commit 7a1848c

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

.github/workflows/docker.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,23 @@ jobs:
2525
context: .
2626
tags: "openstates/core:latest,openstates/core:${{ github.sha }}"
2727
push: true
28+
publish-plural:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v3
32+
- name: Authenticate with Google Cloud
33+
uses: google-github-actions/auth@v2
34+
with:
35+
project_id: civic-eagle-enview-prod
36+
credentials_json: "${{ secrets.PLURAL_OPEN_REPO_PUSHER_KEY }}"
37+
- name: Setup Google Cloud SDK
38+
uses: "google-github-actions/setup-gcloud@v2"
39+
- name: Docker Auth
40+
run: |-
41+
gcloud auth configure-docker us-central1-docker.pkg.dev --quiet
42+
- name: Build and Push docker image
43+
uses: docker/build-push-action@v3
44+
with:
45+
context: .
46+
tags: "us-central1-docker.pkg.dev/civic-eagle-enview-prod/open-containers/core:latest,us-central1-docker.pkg.dev/civic-eagle-enview-prod/open-containers/core:${{ github.sha }}"
47+
push: true

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 6.21.5 - Apr 9, 2025
4+
* Add to Docker workflow to publish to internal repo as well
5+
36
## 6.21.4 - Mar 11, 2025
47
* Remove extra whitespace from query value
58

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "openstates"
3-
version = "6.21.4"
3+
version = "6.21.5"
44
description = "core infrastructure for the openstates project"
55
authors = ["James Turk <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)