Skip to content

Commit

Permalink
Fix the docker push failure
Browse files Browse the repository at this point in the history
  • Loading branch information
mrproliu committed Oct 10, 2024
1 parent d39db69 commit 3dcb979
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/publish-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
name: publish-docker

on:
pull_request:
push:
branches:
- main
Expand Down Expand Up @@ -44,11 +45,15 @@ jobs:
registry: ${{ env.HUB }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Clean spaces for docker images
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Build and push docker images
run: make docker.push

0 comments on commit 3dcb979

Please sign in to comment.