Skip to content

image-publisher

image-publisher #18

Workflow file for this run

name: image-publisher
on:
workflow_dispatch:
inputs:
REGISTRY_NAMESPACE:
required: true
default: ocs-dev
IMAGE_TAG:
required: true
default: "${{ GITHUB_REF#refs/heads/ }}.${{ GITHUB_SHA }}"

Check failure on line 11 in .github/workflows/docker-push.yaml

View workflow run for this annotation

GitHub Actions / image-publisher

Invalid workflow file

The workflow is not valid. .github/workflows/docker-push.yaml (Line: 11, Col: 18): Unexpected symbol: 'GITHUB_REF#refs/heads/'. Located at position 1 within expression: GITHUB_REF#refs/heads/
jobs:
docker-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
- name: Build and push docker images
env:
REGISTRY_NAMESPACE: ${{ github.event.inputs.REGISTRY_NAMESPACE }}
IMAGE_TAG: ${{ github.event.inputs.IMAGE_TAG }}
run: |
make docker-build docker-push
make bundle-build bundle-push
make catalog-build catalog-push
make catalog-deps-build catalog-deps-push