Skip to content

Release 0.0.4

Release 0.0.4 #4

Workflow file for this run

name: Release
on:
release:
types:
- published
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set-up Go
uses: actions/setup-go@v3
with:
go-version: ^1.19
cache: true
- name: Test
run: make test
- name: Docker set up buildx
uses: docker/setup-buildx-action@v2
- name: Docker set up qemu
uses: docker/setup-qemu-action@v3
- name: Docker login
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker build and push
uses: docker/build-push-action@v3
with:
context: .
file: Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/grafana/xk6-client-tracing:latest,ghcr.io/grafana/xk6-client-tracing:${{ github.event.release.tag_name }}