Skip to content

Ensure nodata=nan tags are written to floating point COGs. #442

Ensure nodata=nan tags are written to floating point COGs.

Ensure nodata=nan tags are written to floating point COGs. #442

Workflow file for this run

---
name: Docker
on:
workflow_dispatch:
push:
branches:
- develop
paths:
- "**"
pull_request:
branches:
- develop
release:
types: [published]
env:
IMAGE_NAME: ${{ github.repository }}
jobs:
build_n_push:
runs-on: ubuntu-latest
steps:
- name: Checkout Git
uses: actions/checkout@v3
- name: Determine Docker info from repo
id: meta
uses: docker/metadata-action@v3
with:
images: ${{ env.IMAGE_NAME }}
- name: Log the image labels
run: echo '${{ steps.meta.outputs.labels }}'
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.GADOCKERSVC_USERNAME }}
password: ${{ secrets.GADOCKERSVC_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
builder: ${{ steps.buildx.outputs.name }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
ENVIRONMENT=deployment