Bump DavidAnson/markdownlint-cli2-action from 11 to 14 #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
zunit: | |
name: zunit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run zunit from local action | |
uses: ./.github/actions/zunit-run | |
# Notify Docker Hub to make a new build | |
# See https://stackoverflow.com/questions/34710513/how-can-i-update-full-description-on-docker-hub-automatically | |
build: | |
if: github.ref == 'refs/heads/master' | |
name: build | |
needs: zunit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger dockerhub build | |
env: | |
DOCKERHUB_SOURCE: ${{ secrets.DOCKERHUB_SOURCE }} | |
DOCKERHUB_TRIGGER: ${{ secrets.DOCKERHUB_TRIGGER }} | |
run: > | |
curl | |
--request POST | |
--header 'Content-Type: application/json' | |
--data '{"docker_tag_name": "latest"}' | |
--output /dev/null | |
--silent | |
https://hub.docker.com/api/build/v1/source/$DOCKERHUB_SOURCE/trigger/$DOCKERHUB_TRIGGER/call/ | |
# vim: ts=2 sw=2 sts=2 et |