Skip to content

Commit

Permalink
Enable buildx and github actions cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Darwinkel committed Feb 26, 2024
1 parent 798956e commit 4554279
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
- name: Export requirements
run: poetry export -o requirements.txt --only main,deploy

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to the Container registry
uses: docker/login-action@v3
with:
Expand All @@ -47,5 +50,7 @@ jobs:
with:
context: .
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 4554279

Please sign in to comment.