Re-added caching for Docker

This commit is contained in:
slashtechno 2022-12-18 15:59:47 -06:00
parent 19dd604f05
commit 514ee99604
Signed by: slashtechno
GPG Key ID: 8EC1D9D9286C2B17
1 changed files with 4 additions and 2 deletions

View File

@ -30,11 +30,13 @@ jobs:
registry: ${{ env.REGISTRY }} registry: ${{ env.REGISTRY }}
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker Setup Buildx
uses: docker/setup-buildx-action@v2.2.1
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v3.2.0 uses: docker/build-push-action@v3.2.0
with: with:
push: true push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}, ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}, ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
# cache-from: type=gha cache-from: type=gha
# cache-to: type=gha,mode=max cache-to: type=gha,mode=max