Skip to content

Commit

Permalink
Fix pushing Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
axsuul committed Nov 13, 2023
1 parent 7fce396 commit 9e926b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
# Only build and push Docker images for releases
- name: Build and push Docker image to GitHub Container Registry
uses: docker/build-push-action@v2
if: ${{ github.event_name == 'release' }}
if: github.event_name == 'release'
with:
context: .
push: true
Expand All @@ -67,7 +67,7 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new

- name: Update Docker buildx cache
if: ${{ github.event_name == 'release' }}
if: github.event_name == 'release'
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

0 comments on commit 9e926b5

Please sign in to comment.