From 994af2363e2a81e26b06fa85ea253a720490f6cf Mon Sep 17 00:00:00 2001 From: Michael Beutler Date: Sat, 28 Oct 2023 21:46:15 +0200 Subject: [PATCH] =?UTF-8?q?Added=20new=20permissions.=20=F0=9F=94=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1535dcd..4362774 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,16 +14,8 @@ jobs: name: Push Docker image to Docker Hub runs-on: ubuntu-latest permissions: - contents: write + contents: read packages: write - deployments: write - statuses: write - actions: write - checks: write - issues: write - pull-requests: write - security-events: write - steps: - name: Check out the repo uses: actions/checkout@v1 @@ -54,5 +46,5 @@ jobs: with: context: . push: true - tags: ${{ env.sha_short }} + tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}