Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: publish 'develop' images when main pushed #144

Merged
merged 1 commit into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/api-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ jobs:
if: github.event_name != 'pull_request'
uses: radicalbit/radicalbit-github-workflows/.github/workflows/docker.yaml@v1
with:
push: ${{ startsWith(github.ref, 'refs/tags/v') }}
push: ${{ github.event_name != 'pull_request' }}
context: ./api
image: radicalbit-ai-monitoring-api
tag: github.ref_name
tag: ${{ startsWith(github.ref, 'refs/tags/v') && github.ref_name || 'develop' }}
dockerhub_shortdesc: "Radicalbit AI Monitoring - backend API"
dockerhub_push_latest: true
dockerhub_push_latest: ${{ startsWith(github.ref, 'refs/tags/v') }}
secrets:
USERNAME: ${{ secrets.DOCKER_HUB_USER }}
PASSWORD: ${{ secrets.DOCKER_HUB_PAT }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/migrations-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ jobs:
if: github.event_name != 'pull_request'
uses: radicalbit/radicalbit-github-workflows/.github/workflows/docker.yaml@v1
with:
push: ${{ startsWith(github.ref, 'refs/tags/v') }}
push: ${{ github.event_name != 'pull_request' }}
context: ./api
dockerfile: migrations.Dockerfile
image: radicalbit-ai-monitoring-migrations
tag: github.ref_name
tag: ${{ startsWith(github.ref, 'refs/tags/v') && github.ref_name || 'develop' }}
dockerhub_shortdesc: "Radicalbit AI Monitoring - database migrations"
dockerhub_push_latest: true
dockerhub_push_latest: ${{ startsWith(github.ref, 'refs/tags/v') }}
secrets:
USERNAME: ${{ secrets.DOCKER_HUB_USER }}
PASSWORD: ${{ secrets.DOCKER_HUB_PAT }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/spark-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ jobs:
if: github.event_name != 'pull_request'
uses: radicalbit/radicalbit-github-workflows/.github/workflows/docker.yaml@v1
with:
push: ${{ startsWith(github.ref, 'refs/tags/v') }}
push: ${{ github.event_name != 'pull_request' }}
context: ./spark
image: radicalbit-spark-py
tag: github.ref_name
tag: ${{ startsWith(github.ref, 'refs/tags/v') && github.ref_name || 'develop' }}
dockerhub_shortdesc: "Radicalbit AI Monitoring - Apache Spark jobs"
dockerhub_push_latest: true
dockerhub_push_latest: ${{ startsWith(github.ref, 'refs/tags/v') }}
secrets:
USERNAME: ${{ secrets.DOCKER_HUB_USER }}
PASSWORD: ${{ secrets.DOCKER_HUB_PAT }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ui-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
if: github.event_name != 'pull_request'
uses: radicalbit/radicalbit-github-workflows/.github/workflows/docker.yaml@v1
with:
push: ${{ startsWith(github.ref, 'refs/tags/v') }}
push: ${{ github.event_name != 'pull_request' }}
context: ./ui
image: radicalbit-ai-monitoring-ui
tag: github.ref_name
tag: ${{ startsWith(github.ref, 'refs/tags/v') && github.ref_name || 'develop' }}
dockerhub_shortdesc: "Radicalbit AI Monitoring - frontend UI"
dockerhub_push_latest: true
dockerhub_push_latest: ${{ startsWith(github.ref, 'refs/tags/v') }}
secrets:
USERNAME: ${{ secrets.DOCKER_HUB_USER }}
PASSWORD: ${{ secrets.DOCKER_HUB_PAT }}
Expand Down