Skip to content

Fix xargs cmd

Fix xargs cmd #3

Workflow file for this run

name: Publish the images
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
env:
REGISTRY_IMAGE_PREFIX: "quay.io/giskard/"
jobs:
build:
strategy:
matrix:
element: ["python"]
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Set up Docker Buildx
id: builder
uses: docker/setup-buildx-action@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
${{ env.REGISTRY_IMAGE_PREFIX }}${{ matrix.element }}
- name: Login to Docker registry
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
- name: Push
id: push
uses: docker/build-push-action@v5
with:
context: ./${{ matrix.element }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64