Skip to content

docs: replace image references #5

docs: replace image references

docs: replace image references #5

Workflow file for this run

name: build-containers
on:
push:
branches:
- main
permissions:
contents: read
packages: write
jobs:
build-publish:
name: updown-exporter
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- uses: ko-build/[email protected]
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: |
ko build --sbom=none --bare .
env:
KO_DOCKER_REPO: ghcr.io/${{ github.repository }}