Skip to content

Prometheus flaskapp build #110

Prometheus flaskapp build

Prometheus flaskapp build #110

name: Prometheus flaskapp build
on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
environment: actions-cicd
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Import Coverage Tests
uses: actions/checkout@v4
with:
repository: rapidfort/community-images-core
token: ${{ secrets.COVERAGE_ACCESS_TOKEN }}
- name: Docker login
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: docker login -u "${DOCKERHUB_USERNAME}" -p "${DOCKERHUB_PASSWORD}"
- name: Build docker image
run: ./community_images/prometheus/bitnami/build_docker.sh