Merge remote-tracking branch 'origin/develop' into develop #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push images on dev branch update | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
name: OPEX admin panel build | |
env: | |
TAG: dev | |
steps: | |
- name: Checkout Source Code | |
uses: actions/checkout@v2 | |
- name: Build Docker images | |
env: | |
GENERATE_SOURCEMAP: '' | |
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 |