Skip to content

ci: add github workflow for publishing container images #1

ci: add github workflow for publishing container images

ci: add github workflow for publishing container images #1

Workflow file for this run

name: Publish Container Images
on:
push:
branches:
- main
tags:
- v[0-9]+.[0-9]+.[0-9]+
env:
IMAGE_REPO_BASE: ghcr.io/${{ github.repository }}
jobs:
publish-images:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Log in to registry
uses: docker/login-action@v3
registry: ${{ env.REGISTRY }}

Check failure on line 28 in .github/workflows/images.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/images.yml

Invalid workflow file

You have an error in your yaml syntax on line 28
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push images
run: |
GITREF=${{ github.ref }}
case $GITREF in
refs/heads/main)
VERSION=unstable
;;
*)
;;
esac
make plugin-images
make plugin-images-push