Skip to content

Fix dataset (#9)

Fix dataset (#9) #4

Workflow file for this run

name: Build and push Docker images
on:
push:
tags: [ '*.*.*' ]
env:
REGISTRY: docker.io
META_IMAGE: primihub/primihub-meta
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout code
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
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract Docker metadata
id: metasimple
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.META_IMAGE }}
- name: Build and push meta images
uses: docker/build-push-action@v2
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.metasimple.outputs.tags }}
labels: ${{ steps.metasimple.outputs.labels }}