Skip to content

Commit

Permalink
fix:flow on authentication using github token
Browse files Browse the repository at this point in the history
  • Loading branch information
lfbarrile01 committed Dec 2, 2024
1 parent 988d95d commit 88ef07b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
DOCKERHUB_ORG: lerianstudio
name: Build And Publish Docker Image to Midaz
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}

- name: Set up GitHub token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.LERIAN_STUDIO_MIDAZ_PUSH_BOT_APP_ID }}
private-key: ${{ secrets.LERIAN_STUDIO_MIDAZ_PUSH_BOT_PRIVATE_KEY }}

- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit 88ef07b

Please sign in to comment.