Prometheus flaskapp build #110
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: 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 |