Skip to content

Merge pull request #30 from vikram-raj/ocpbugs-25334 #3

Merge pull request #30 from vikram-raj/ocpbugs-25334

Merge pull request #30 from vikram-raj/ocpbugs-25334 #3

name: publish container images
on:
push:
branches: [main]
tags: ['v*']
jobs:
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'
- name: Login in to ghcr.io registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Dynamic Console container image
run: ./build.sh
env:
CONSOLE_PLUGIN_IMAGE_REPO: 'ghcr.io/${{ github.repository }}'
CONSOLE_PLUGIN_IMAGE_TAG: '${{ github.ref_name }}'