Skip to content

Update Docker.modis-vcf #5

Update Docker.modis-vcf

Update Docker.modis-vcf #5

name: ilab-applications-docker
on:
push:
branches:
- 'main'
jobs:
modis-vcf:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Lower github-runner storage
run: |
# Remove software and language runtimes we're not using
sudo rm -rf \
"$AGENT_TOOLSDIRECTORY" \
/opt/google/chrome \
/opt/microsoft/msedge \
/opt/microsoft/powershell \
/opt/pipx \
/usr/lib/mono \
/usr/local/julia* \
/usr/local/lib/android \
/usr/local/lib/node_modules \
/usr/local/share/chromium \
/usr/local/share/powershell \
/usr/share/dotnet \
/usr/share/swift
df -h /
-
name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: ./docker/applications/modis-vcf/Docker.modis-vcf
push: true
tags: nasanccs/modis-vcf:latest