Skip to content

Build packages and publish to Github Container Registry #9

Build packages and publish to Github Container Registry

Build packages and publish to Github Container Registry #9

Workflow file for this run

name: Build packages and publish to Github Container Registry
on:
push:
tags:
- '*'
env:
REGISTRY: ghcr.io
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
with:
node-version: 18
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the containers
run: ./build-container.sh ${{ github.ref_name }}
shell: bash