This repository has been archived by the owner on Mar 16, 2024. It is now read-only.
Only export exactly the metrics that we are using currently (#8) #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tag | |
on: | |
push: | |
tags: [v*.*.*] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
with: | |
buildkitd-flags: --debug | |
- name: Log in to GHCR | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push | |
run: | # build and push it with the tag created on the repo | |
committed_tag=${GITHUB_REF#refs/*/} | |
TAG=$(basename "${committed_tag}") | |
docker buildx build --platform linux/amd64 -t ghcr.io/${{ github.repository_owner }}/alaz:${TAG} --push . |