Bump version: 5.1.0 → 5.2.0-rc.1 #254
Workflow file for this run
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: Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
push_to_registry: | |
name: Push Docker images to Docker Hub | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Get release version from the pushed tag | |
id: get_version | |
uses: battila7/get-version-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Push Database to Docker Hub | |
uses: docker/[email protected] | |
with: | |
context: components/database | |
tags: ictu/quality-time_database:${{ steps.get_version.outputs.version }} | |
push: true | |
- name: Push Renderer to Docker Hub | |
uses: docker/[email protected] | |
with: | |
context: components/renderer | |
tags: ictu/quality-time_renderer:${{ steps.get_version.outputs.version }} | |
push: true | |
- name: Push Proxy to Docker Hub | |
uses: docker/[email protected] | |
with: | |
context: components/proxy | |
tags: ictu/quality-time_proxy:${{ steps.get_version.outputs.version }} | |
push: true | |
- name: Push Collector to Docker Hub | |
uses: docker/[email protected] | |
with: | |
context: components | |
file: components/collector/Dockerfile | |
tags: ictu/quality-time_collector:${{ steps.get_version.outputs.version }} | |
push: true | |
- name: Push Notifier to Docker Hub | |
uses: docker/[email protected] | |
with: | |
context: components | |
file: components/notifier/Dockerfile | |
tags: ictu/quality-time_notifier:${{ steps.get_version.outputs.version }} | |
push: true | |
- name: Push API-server to Docker Hub | |
uses: docker/[email protected] | |
with: | |
context: components | |
file: components/api_server/Dockerfile | |
tags: ictu/quality-time_api_server:${{ steps.get_version.outputs.version }} | |
push: true | |
- name: Push Frontend to Docker Hub | |
uses: docker/[email protected] | |
with: | |
context: components/frontend | |
tags: ictu/quality-time_frontend:${{ steps.get_version.outputs.version }} | |
push: true | |
- name: Anchore SBOM Action | |
uses: anchore/[email protected] |