Skip to content

Trigger CI/CD pipeline #1

Trigger CI/CD pipeline

Trigger CI/CD pipeline #1

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: sir-bruno-hyppo
password: ${{ secrets.GH_TOKEN_BOT }}
- name: Build and push image
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
push: true
tags: |
ghcr.io/startupflow/uptimerobot_exporter:latest
cache-from: type=gha
cache-to: type=gha,mode=max