diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index ecc047398..19bda7463 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -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 @@ -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 }} \ No newline at end of file