Skip to content

Commit 0c77062

Browse files
Merge pull request #499 from opentensor/hotfix/docker
fix: write permissions for ci packages
2 parents cbd42df + 3b549b6 commit 0c77062

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Diff for: .github/workflows/docker.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,17 @@ on:
66
- main
77
tags:
88
- '*'
9+
pull_request:
10+
branches:
11+
- main
912
workflow_dispatch:
1013

14+
permissions:
15+
contents: read
16+
packages: write
17+
actions: read
18+
security-events: write
19+
1120
jobs:
1221
publish:
1322
runs-on: SubtensorCI
@@ -40,5 +49,7 @@ jobs:
4049
with:
4150
context: .
4251
push: true
43-
tags: ${{ steps.meta.outputs.tags }}
52+
tags: |
53+
${{ steps.meta.outputs.tags }}
54+
ghcr.io/${{ github.repository }}:latest
4455
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)