Skip to content

Merge pull request #8 from georchestra/can-deactivate-nlt #10

Merge pull request #8 from georchestra/can-deactivate-nlt

Merge pull request #8 from georchestra/can-deactivate-nlt #10

Workflow file for this run

name: build a docker image
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 8
steps:
- name: "Checking out"
uses: actions/checkout@v1
- name: "Building docker image"
run: docker-compose build
- name: "Logging in to docker.io"
uses: azure/docker-login@v1
with:
username: '${{ secrets.DOCKER_HUB_USERNAME }}'
password: '${{ secrets.DOCKER_HUB_PASSWORD }}'
- name: "Pushing latest to docker.io"
run: docker-compose push
- name: "Update Docker Hub Description for VRT bot"
if: github.ref == 'refs/heads/main' && github.repository == 'georchestra/vrt-bot' && 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/vrt-bot
readme-filepath: ./DOCKER_HUB.md
short-description: 'VRT bot module for the geOrchestra SDI'