Skip to content

Commit ff7f326

Browse files
authored
[iris] Fix dev cluster restart ghcr.io auth failure (#4089)
The controller restart command builds Docker images and pushes them to ghcr.io/marin-community/, but both dev restart workflows were missing packages:write permission and the docker/login-action step, causing pushes to fail with "unauthenticated". Adds both to iris-dev-restart.yaml and iris-coreweave-dev-restart.yaml, matching docker-images.yaml.
1 parent 252acf5 commit ff7f326

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/iris-coreweave-dev-restart.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
permissions:
1010
contents: read
11+
packages: write
1112

1213
concurrency:
1314
group: iris-coreweave-dev-restart
@@ -32,6 +33,13 @@ jobs:
3233
enable-cache: true
3334
cache-dependency-glob: "lib/iris/pyproject.toml"
3435

36+
- name: Login to GitHub Container Registry
37+
uses: docker/login-action@v3
38+
with:
39+
registry: ghcr.io
40+
username: ${{ github.actor }}
41+
password: ${{ github.token }}
42+
3543
- name: Write kubeconfig
3644
run: |
3745
mkdir -p ~/.kube

.github/workflows/iris-dev-restart.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
permissions:
1010
contents: read
11+
packages: write
1112

1213
concurrency:
1314
group: iris-dev-restart
@@ -42,6 +43,13 @@ jobs:
4243
with:
4344
project_id: ${{ secrets.GCP_PROJECT_ID }}
4445

46+
- name: Login to GitHub Container Registry
47+
uses: docker/login-action@v3
48+
with:
49+
registry: ghcr.io
50+
username: ${{ github.actor }}
51+
password: ${{ github.token }}
52+
4553
- name: Write SSH key
4654
run: |
4755
mkdir -p ~/.ssh

0 commit comments

Comments
 (0)