Validate raw_output against the output schema, even if unstructured d… #67
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: Building and Pushing images. | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- '*' | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
DOCKER_BUILDKIT: 1 | |
jobs: | |
CI: | |
uses: enspirit/webspicy/.github/workflows/integration.yml@master | |
Images: | |
needs: CI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: act10ns/slack@v1 | |
with: | |
status: starting | |
channel: '#opensource-cicd' | |
- uses: actions/checkout@v2 | |
- name: Build images | |
id: images-build | |
run: make images | |
- name: Login to Docker Hub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | |
- name: Get tag if exist | |
run: echo "VERSION=$(git describe --contains || true)" >> $GITHUB_ENV | |
if: startsWith(github.ref, 'refs/tags/') | |
- name: Pushing images | |
id: images-push | |
run: make push-images | |
- uses: act10ns/slack@v1 | |
with: | |
status: ${{ job.status }} | |
steps: ${{ toJson(steps) }} | |
channel: '#opensource-cicd' | |
if: always() |