Skip to content

Commit

Permalink
DC sur le DockerHub
Browse files Browse the repository at this point in the history
  • Loading branch information
GirardinClaire committed Mar 13, 2024
1 parent 2e760a8 commit 79303b3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,14 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
run: |
make release TAG="${{github.ref_name}}"
- name: Login to Docker Hub
uses: docker/login-action@v3
if: contains('refs/heads/main', github.ref)
with:
username: girardinclaire
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push if on `main` branch
if: contains('refs/heads/main', github.ref)
run: |
make release TAG="${{github.ref_name}}"

0 comments on commit 79303b3

Please sign in to comment.