Add support for DBAGENT_IGNORED_FLUSH_FIELDS #91
This file contains hidden or 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: Release images. | |
| on: | |
| push: | |
| branches: | |
| - "master" | |
| - "staging" | |
| tags: | |
| - '*' | |
| env: | |
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
| jobs: | |
| tests: | |
| uses: enspirit/dbagent/.github/workflows/integration.yml@master | |
| release-image: | |
| needs: tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: act10ns/slack@v1 | |
| with: | |
| status: starting | |
| channel: '#opensource-cicd' | |
| - uses: actions/checkout@v2 | |
| - 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 "DOCKER_TAG=$(git describe --contains || true)" >> $GITHUB_ENV | |
| - name: Build & Push image to registry | |
| id: push-image | |
| run: make image.push | |
| - uses: act10ns/slack@v1 | |
| with: | |
| status: ${{ job.status }} | |
| steps: ${{ toJson(steps) }} | |
| channel: '#opensource-cicd' | |
| if: always() |