Skip to content

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

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

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

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
push: true
tags: nasanccs/ilab-base:latest
ilab-base-3.3.3-production:

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

View workflow run for this annotation

GitHub Actions / ilab-base-docker

Invalid workflow file

The workflow is not valid. .github/workflows/ilab-base-prod.yaml (Line: 46, Col: 3): The identifier 'ilab-base-3.3.3-production' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
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:3.3.3