Skip to content

Commit e8dd3c6

Browse files
authored
Fix python distroless workflow (#33232)
* Fix python distroless workflow (#33228) * Add artifact registry credential setup * Edit trigger file to trigger workflow * Add setup docker stage * Add gcloud auth configure-docker stage * Add registries to configure-docker step
1 parent 4d2d2ce commit e8dd3c6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"comment": "Modify this file in a trivial way to cause this test suite to run",
3-
"modification": 1
4-
}
3+
"modification": 2
4+
}

.github/workflows/beam_PostCommit_Python_ValidatesDistrolessContainer_Dataflow.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ jobs:
8585
11
8686
8
8787
python-version: ${{ matrix.python_version }}
88+
- name: Setup docker
89+
run: |
90+
gcloud auth configure-docker us-docker.pkg.dev --quiet
91+
gcloud auth configure-docker us.gcr.io --quiet
92+
gcloud auth configure-docker gcr.io --quiet
93+
gcloud auth configure-docker us-central1-docker.pkg.dev --quiet
8894
- name: Set PY_VER_CLEAN
8995
id: set_py_ver_clean
9096
run: |

0 commit comments

Comments
 (0)