Skip to content

Merge pull request #77 from georchestra/docs/docker-hub #7

Merge pull request #77 from georchestra/docs/docker-hub

Merge pull request #77 from georchestra/docs/docker-hub #7

Workflow file for this run

name: "Docker build sdi-consistence-check"
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:

Check failure on line 12 in .github/workflows/docker-build.yml

View workflow run for this annotation

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

Invalid workflow file

You have an error in your yaml syntax on line 12
- name: "Checking out"
uses: "actions/checkout@v1"
- name: "build image"
run: |
make docker-build
- name: "Logging in docker.io"
if: github.repository == 'georchestra/sdi-consistence-check'
uses: azure/docker-login@v1
with:
username: '${{ secrets.DOCKER_HUB_USERNAME }}'
password: '${{ secrets.DOCKER_HUB_PASSWORD }}'
- name: "Push image to docker hub"
if: github.repository == 'georchestra/sdi-consistence-check'
run: |
make docker-push
- name: "Update Docker Hub Description"
if: github.ref == 'refs/heads/master' && github.repository == 'georchestra/sdi-consistence-check' && github.actor != 'dependabot[bot]' && github.event_name != 'pull_request'
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
repository: georchestra/sdi-consistence-check
readme-filepath: ./DOCKER_HUB.md
short-description: 'SDI consistence check module for the geOrchestra SDI'