Skip to content

Commit

Permalink
add docker cache
Browse files Browse the repository at this point in the history
  • Loading branch information
nemanjam committed May 15, 2024
1 parent 2615573 commit b0d9f91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-push-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ jobs:
# Dockerfile dir
file: ./docker/Dockerfile
push: true
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:buildcache
cache-to: type=inline

tags: nemanjamitic/nemanjam.github.io:latest
# tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest
# disabled metadata step
Expand Down

0 comments on commit b0d9f91

Please sign in to comment.