Skip to content

Merge pull request #19 from opexdev/develop #12

Merge pull request #19 from opexdev/develop

Merge pull request #19 from opexdev/develop #12

Workflow file for this run

name: Push images on main branch update
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-20.04
name: OPEX admin panel build
env:
TAG: latest
steps:
- name: Checkout Source Code
uses: actions/checkout@v2
- name: Build Docker images
env:
GENERATE_SOURCEMAP: false
run: docker-compose -f docker-compose.build.yml build
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push images to GitHub Container Registry
run: docker-compose -f docker-compose.build.yml push