Skip to content

Fix port in Railway prometheus configuration #4

Fix port in Railway prometheus configuration

Fix port in Railway prometheus configuration #4

name: Build Prometheus Docker image
on:
push:
paths:
- prometheus/**
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
with:
install: true
- name: Login to container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
push: true
context: ./prometheus
tags: ghcr.io/jirkavrba/dubs-bot/prometheus:latest