Skip to content

Commit

Permalink
Merge pull request #499 from opentensor/hotfix/docker
Browse files Browse the repository at this point in the history
fix: write permissions for ci packages
  • Loading branch information
distributedstatemachine committed Jun 3, 2024
2 parents cbd42df + 3b549b6 commit 0c77062
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,17 @@ on:
- main
tags:
- '*'
pull_request:
branches:
- main
workflow_dispatch:

permissions:
contents: read
packages: write
actions: read
security-events: write

jobs:
publish:
runs-on: SubtensorCI
Expand Down Expand Up @@ -40,5 +49,7 @@ jobs:
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
tags: |
${{ steps.meta.outputs.tags }}
ghcr.io/${{ github.repository }}:latest
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 0c77062

Please sign in to comment.