Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

Steamline tags for CI #4

Steamline tags for CI

Steamline tags for CI #4

Workflow file for this run

name: docker
on:
push:
branches:
- 'master'
- 'release/*'
tags:
- 'v*'
pull_request:
branches:
- 'master'
jobs:
build:
steps:

Check failure on line 16 in .github/workflows/docker-build.yaml

View workflow run for this annotation

GitHub Actions / docker

Invalid workflow file

The workflow is not valid. .github/workflows/docker-build.yaml (Line: 16, Col: 5): Required property is missing: runs-on
- name: Checkout
uses: actions/checkout@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: |
docker.wiseflow.io/k8s/${{ github.event.repository.name }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=ref,event=tag
type=semver,pattern={{version}}
type=raw,value={{sha}}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Harbor
uses: docker/login-action@v2
with:
registry: docker.wiseflow.io
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha,scope=build
cache-to: type=gha,mode=max,scope=build
secrets: |
"github_token=${{ secrets.NPM_READ_TOKEN }}"