Skip to content

Commit

Permalink
Checkout before build
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman authored May 2, 2024
1 parent 33b1d1f commit 19e457d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v4

- name: Build and push
uses: docker/build-push-action@v5
if: (github.event_name == 'push' || github.event_name == 'release')
Expand All @@ -75,7 +78,6 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

- uses: actions/checkout@v4
- name: Update DockerHub description
uses: peter-evans/dockerhub-description@v3
with:
Expand Down

0 comments on commit 19e457d

Please sign in to comment.