Skip to content

Commit cdd28e8

Browse files
Merge pull request #8 from virtualcell/deploy-fixes
Deploy fixes
2 parents 9245b1e + b418190 commit cdd28e8

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/docker.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
jobs:
1111
build:
1212
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
packages: write
1316

1417
steps:
1518
- name: Checkout code
@@ -22,8 +25,8 @@ jobs:
2225
uses: docker/login-action@v3
2326
with:
2427
registry: ghcr.io
25-
username: ${{ secrets.ACTION_USER }}
26-
password: ${{ secrets.ACTION_TOKEN }}
28+
username: ${{ github.actor }}
29+
password: ${{ secrets.GITHUB_TOKEN }}
2730

2831
- name: Shorten SHA
2932
id: shorten_sha
@@ -34,4 +37,8 @@ jobs:
3437
with:
3538
context: .
3639
push: true
37-
tags: ghcr.io/virtualcell/modelbricks:${{ env.SHORT_SHA }}
40+
tags: ghcr.io/virtualcell/modelbricks:${{ env.SHORT_SHA }}
41+
42+
- name: Setup tmate session 3
43+
uses: mxschmitt/action-tmate@v3
44+
if: ${{ failure() }}

kustomize/overlays/modelbricks/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace: modelbricks
55

66
images:
77
- name: ghcr.io/virtualcell/modelbricks
8-
newTag: 0ef13e0
8+
newTag: fcf5cca
99

1010
replicas:
1111
- count: 1

0 commit comments

Comments
 (0)