Bump to 1.2.1 and release. #154
Workflow file for this run
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: | |
| tags: | |
| - "*" | |
| jobs: | |
| Tests: | |
| uses: enspirit/startback/.github/workflows/tests.yml@master | |
| Release: | |
| needs: Tests | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby-version: ['3.3'] | |
| env: | |
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
| steps: | |
| - uses: act10ns/slack@v1 | |
| with: | |
| status: starting | |
| channel: '#opensource-cicd' | |
| - uses: actions/checkout@v2 | |
| - name: Get tag if exist | |
| run: echo "VERSION=$(git describe --contains || true)" >> $GITHUB_ENV | |
| - run: echo "MRI_VERSION=${{ matrix.ruby-version }}" >> $GITHUB_ENV | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v1 | |
| with: | |
| username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
| password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | |
| - name: Building & pushing images | |
| id: build-images | |
| run: make images | |
| - uses: act10ns/slack@v1 | |
| with: | |
| status: ${{ job.status }} | |
| steps: ${{ toJson(steps) }} | |
| channel: '#opensource-cicd' | |
| if: always() |