Skip to content

fix: check error of httpClient.Do() #5

fix: check error of httpClient.Do()

fix: check error of httpClient.Do() #5

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
jobs:
docker-build-push:
runs-on: ubuntu-latest
steps:
- name: 'Pull Code'
uses: actions/checkout@main
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: 'Build Inventory Image'
run: |
docker build . --tag ghcr.io/$GITHUB_REPOSITORY_OWNER/downdetector-exporter:latest
docker push ghcr.io/$GITHUB_REPOSITORY_OWNER/downdetector-exporter:latest