Skip to content

Make sure if/then subschemas stay inside the 'allOf'. #26

Make sure if/then subschemas stay inside the 'allOf'.

Make sure if/then subschemas stay inside the 'allOf'. #26

on:
push:
branches:
- 'v*'
- master
tags-ignore:
- '*'
name: Publish Docker image
jobs:
publish_docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/heads\//}
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: ${{ github.repository }}/builder:${{ steps.get_version.outputs.VERSION }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io