Skip to content

Commit

Permalink
ci: fix oom issues
Browse files Browse the repository at this point in the history
  • Loading branch information
MauriceNino committed Aug 23, 2023
1 parent 6f7544d commit aa6d393
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
**/*.md

# docker
.git
.dockerignore
Dockerfile
Dockerfile.dev
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ jobs:
[ ! -z "${package_version}" ] || exit 1
# DEPLOY
# fix oom issues (https://github.com/orgs/community/discussions/26351)
- run: |
df -h
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
df -h
- uses: docker/metadata-action@v4
id: meta
with:
Expand Down

0 comments on commit aa6d393

Please sign in to comment.