Skip to content

Update docker-image.yml #178

Update docker-image.yml

Update docker-image.yml #178

Workflow file for this run

name: Docker Image CI
env:
DOCKER_IMAGE: ghcr.io/bbnavi/datahub
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
on:
workflow_dispatch:
push:
branches: [ master ]
jobs:
build-tileserver-image:
runs-on: ubuntu-latest
env: DOCKER_TAG: martin

Check failure on line 16 in .github/workflows/docker-image.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker-image.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
steps:
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v1
- uses: docker/#-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- id: docker_build
uses: docker/build-push-action@v2
with:
push: true
file: Dockerfile.martin
tags: ghcr.io/bbnavi/tileserver:latest
build-datahub-image:
runs-on: ubuntu-latest
needs:
- prep-martin
steps:
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v1
- uses: docker/#-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: ghcr.io/bbnavi/datahub:latest
# deploy:
# runs-on: ubuntu-latest
# needs:
# - prep
# container: r.planetary-quantum.com/quantum-public/cli:2
# env:
# QUANTUM_USER: ${{ secrets.QUANTUM_USER }}
# QUANTUM_PASSWORD: ${{ secrets.QUANTUM_PASSWORD }}
# QUANTUM_ENDPOINT: "tpwd-bb-navi"
# QUANTUM_STACK: "bbnavi-datahub"
# steps:
# - uses: actions/checkout@v2
# - name: Deploy to Planetary Quantum
# run: quantum-cli stacks update --create --wait