mirror of
https://github.com/priyanshujain/internet-performance-exporter.git
synced 2026-10-02 11:07:03 +00:00
27 lines
681 B
YAML
27 lines
681 B
YAML
name: release
|
|
on:
|
|
release:
|
|
types: [published]
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
jobs:
|
|
image:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
- uses: docker/setup-buildx-action@v3
|
|
- uses: docker/build-push-action@v6
|
|
with:
|
|
context: .
|
|
push: true
|
|
platforms: linux/amd64
|
|
tags: |
|
|
ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }}
|
|
ghcr.io/${{ github.repository }}:latest
|