Skip to content

Merge pull request #2 from nasa-nccs-hpda/github-registry-changes #9

Merge pull request #2 from nasa-nccs-hpda/github-registry-changes

Merge pull request #2 from nasa-nccs-hpda/github-registry-changes #9

Workflow file for this run

name: ilab-base-docker
on:
push:
branches:
- 'main'
jobs:
ilab-base-production:
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: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
-
name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: ./docker/ilab-base/Dockerfile.ilab-base-gdal-3.3.3
push: true
tags: nasanccs/ilab-base:latest
ilab-base-dev:
runs-on: ubuntu-latest
on: [push, pull_request]

Check failure on line 48 in .github/workflows/ilab-base.yaml

View workflow run for this annotation

GitHub Actions / ilab-base-docker

Invalid workflow file

The workflow is not valid. .github/workflows/ilab-base.yaml (Line: 48, Col: 5): Unexpected value 'on'
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: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
-
name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: ./requirements/Dockerfile
push: true
tags: nasanccs/ilab-base:dev