Skip to content

Commit

Permalink
chore(temp): does it publish properly
Browse files Browse the repository at this point in the history
... without the permissions object?
  • Loading branch information
kanadgupta committed Mar 7, 2023
1 parent 75438cd commit e20f17f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Release
on:
push:
branches:
- main
- next
# branches:
# - main
# - next

env:
REGISTRY: ghcr.io
Expand All @@ -12,9 +12,9 @@ env:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# permissions:
# contents: read
# packages: write

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -60,7 +60,6 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{version}},value=${{ steps.release.outputs.newVersion }}
type=ref,event=branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
- name: Build (but do NOT push)
Expand All @@ -69,3 +68,4 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
push: true

0 comments on commit e20f17f

Please sign in to comment.