ci: allow deploy job write to packages
This commit is contained in:
parent
afbbf3628d
commit
0bba34b725
1 changed files with 3 additions and 1 deletions
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
|
@ -11,6 +11,8 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
name: "Deploy"
|
name: "Deploy"
|
||||||
|
permissions:
|
||||||
|
packages: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -40,4 +42,4 @@ jobs:
|
||||||
uses: docker/metadata-action@v4
|
uses: docker/metadata-action@v4
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
- run: docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
- run: docker push ${{ steps.meta.outputs.tags }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue