Skip to content

Commit

Permalink
allow docker pipeline to write packages
Browse files Browse the repository at this point in the history
  • Loading branch information
m-adawi committed Jul 13, 2024
1 parent 69a328b commit 2a9bd8e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/docker-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -25,4 +23,4 @@ jobs:
uses: docker/build-push-action@v6
with:
push: true
tags: m-adawi/swarm-cd:latest
tags: ${{ github.actor }}/${{ github.repository }}:latest

0 comments on commit 2a9bd8e

Please sign in to comment.