|
22 | 22 | - name: Checkout repository |
23 | 23 | uses: actions/checkout@v4 |
24 | 24 |
|
| 25 | + - name: Set up Docker Buildx |
| 26 | + uses: docker/setup-buildx-action@v3 |
| 27 | + |
25 | 28 | - name: Log in to the Docker Hub |
26 | 29 | uses: docker/login-action@v3 |
27 | 30 | with: |
|
58 | 61 | push: true |
59 | 62 | tags: ${{ steps.meta.outputs.tags }} |
60 | 63 | labels: ${{ steps.meta.outputs.labels }} |
| 64 | + cache-from: type=gha |
| 65 | + cache-to: type=gha,mode=max |
61 | 66 | # Pass build arguments for versioning |
62 | 67 | # Extracts version from git tag e.g., v1.2.3 -> 1, 2, 3 |
63 | 68 | build-args: | |
|
77 | 82 | - name: Checkout repository |
78 | 83 | uses: actions/checkout@v4 |
79 | 84 |
|
| 85 | + - name: Set up Docker Buildx |
| 86 | + uses: docker/setup-buildx-action@v3 |
| 87 | + |
80 | 88 | - name: Log in to the Docker Hub |
81 | 89 | uses: docker/login-action@v3 |
82 | 90 | with: |
@@ -113,6 +121,8 @@ jobs: |
113 | 121 | push: true |
114 | 122 | tags: ${{ steps.meta.outputs.tags }} |
115 | 123 | labels: ${{ steps.meta.outputs.labels }} |
| 124 | + cache-from: type=gha |
| 125 | + cache-to: type=gha,mode=max |
116 | 126 | # Pass build arguments for versioning |
117 | 127 | # Extracts version from git tag e.g., v1.2.3 -> 1, 2, 3 |
118 | 128 | build-args: | |
|
0 commit comments