Skip to content

fix: adapt description in publish-docker-images.yml #5

fix: adapt description in publish-docker-images.yml

fix: adapt description in publish-docker-images.yml #5

name: Publish Docker Images
on:
workflow_call:

Check failure on line 3 in .github/workflows/publish-docker-images.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-docker-images.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
inputs:
os:
description: OS
required: false
default: ubuntu-latest
type: string
git-ref:
description: Git branch or git ref
required: false
default: ""
type: string
jobs:
publish-to-docker-hub:
name: Publish Docker Images
runs-on: ${{ inputs.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
repository: ${{ github.repository }}
ref: ${{ github.event.pull_request.head.sha }}
- name: Login to docker hub
uses: actions-hub/docker/login@master
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- name: Use Docker CLI
uses: actions-hub/docker/cli@master
- name: Build and push Docker images
run: cd docker && ./release_images.sh