Skip to content

Commit

Permalink
Reorder Docker Hub Description step in build and deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Bolado committed Nov 11, 2024
1 parent 25fca1c commit 292341b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}
short-description: ${{ github.event.repository.description }}

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
Expand All @@ -33,3 +25,11 @@ jobs:
context: .
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}:latest

- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}
short-description: ${{ github.event.repository.description }}

0 comments on commit 292341b

Please sign in to comment.