From 2a9bd8e0dd0e70bdc3911ea12876e0f546dc1d39 Mon Sep 17 00:00:00 2001 From: Malek Adawi Date: Sun, 14 Jul 2024 01:23:30 +0300 Subject: [PATCH] allow docker pipeline to write packages --- .github/workflows/docker-ci.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-ci.yaml b/.github/workflows/docker-ci.yaml index f6e4d4a..d6eb00a 100644 --- a/.github/workflows/docker-ci.yaml +++ b/.github/workflows/docker-ci.yaml @@ -8,12 +8,10 @@ on: jobs: docker: + permissions: + packages: write runs-on: ubuntu-latest steps: - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: Login to Docker Hub uses: docker/login-action@v3 with: @@ -25,4 +23,4 @@ jobs: uses: docker/build-push-action@v6 with: push: true - tags: m-adawi/swarm-cd:latest \ No newline at end of file + tags: ${{ github.actor }}/${{ github.repository }}:latest \ No newline at end of file