Skip to content

fix: do not reuse consumer tag so we can record multiple queues at once #13

fix: do not reuse consumer tag so we can record multiple queues at once

fix: do not reuse consumer tag so we can record multiple queues at once #13

Workflow file for this run

name: Docker build
on: [push, workflow_dispatch]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/login-action@v2.1.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4.1.1
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=edge,branch=dev
type=sha
type=ref,event=tag
- name: Build and push Docker image
uses: docker/build-push-action@v3.2.0
with:
context: .
file: "./Dockerfile"
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}