Skip to content

Commit

Permalink
fix: Remove unused cache
Browse files Browse the repository at this point in the history
  • Loading branch information
hmiranda-queiros committed Oct 29, 2023
1 parent 13ee427 commit 884f708
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docker_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: hmiranda-queiros
password: ${{ secrets.DOCKER_CONTAINER_REGISTRY_TOKEN }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand All @@ -51,6 +51,4 @@ jobs:
platforms: ${{ matrix.platform }}
no-cache: true
pull: true
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:cache-${{ matrix.tag }}
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:cache-${{ matrix.tag }},mode=max
push: true

0 comments on commit 884f708

Please sign in to comment.