From 38361f3c29a43265e16b5c81eab5a51b93a41f6b Mon Sep 17 00:00:00 2001 From: Paul Yu Date: Tue, 8 Aug 2023 15:56:42 -0700 Subject: [PATCH] Update package-virtual-worker.yaml --- .github/workflows/package-virtual-worker.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/package-virtual-worker.yaml b/.github/workflows/package-virtual-worker.yaml index 03f94c9b..80aa7468 100644 --- a/.github/workflows/package-virtual-worker.yaml +++ b/.github/workflows/package-virtual-worker.yaml @@ -9,11 +9,12 @@ on: workflow_dispatch: +permissions: + contents: read + packages: write + jobs: publish-container-image: - permissions: - contents: read - packages: write runs-on: ubuntu-latest @@ -54,7 +55,6 @@ jobs: file: src/virtual-worker/Dockerfile push: true tags: | - ${{ steps.set-variables.outputs.REPOSITORY }}/${{ steps.set-variables.outputs.IMAGE }}:latest ${{ steps.set-variables.outputs.REPOSITORY }}/${{ steps.set-variables.outputs.IMAGE }}:${{ steps.set-variables.outputs.VERSION }} labels: | org.opencontainers.image.source=${{ github.repositoryUrl }}