Skip to content

Merge pull request #45 from vikram-raj/fix-cache-issue #6

Merge pull request #45 from vikram-raj/fix-cache-issue

Merge pull request #45 from vikram-raj/fix-cache-issue #6

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 }}'