Restore docker space savings #68
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create RHEL7 compatible conda environment with docker | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
env: | |
ENVIRONMENT_NAME: python3_rhel7_env | |
ENVIRONMENT_FILE_PATH: python3_rhel7_env.yml | |
TEST_FILE: test.sh | |
runs-on: ubuntu-latest | |
name: Build environment | |
steps: | |
- name: Free disk space | |
run: | | |
sudo swapoff -a | |
sudo rm -f /swapfile | |
sudo apt clean | |
df -h | |
- name: Build environment | |
uses: slaclab/lcls-rhel7-conda-pack@v1.1 |