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