Skip to content

Disable logging outside of local domain, with no other changes (#644) #488

Disable logging outside of local domain, with no other changes (#644)

Disable logging outside of local domain, with no other changes (#644) #488

name: Build Containers
on:
push:
branches:
- main
- 'SL*'
tags:
- '*'
jobs:
build:
if: github.repository_owner == 'star-bnl'
runs-on: ubuntu-latest
strategy:
matrix:
starenv: [root5, root6]
compiler: [gcc485, gcc11]
env:
STARENV: ${{ matrix.starenv }}-${{ matrix.compiler }}
steps:
- name: Get branch name
id: branch-name
uses: tj-actions/[email protected]
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build a release container
uses: docker/build-push-action@v3
with:
build-args: |
starenv=${{ matrix.starenv }}
compiler=${{ matrix.compiler }}
push: true
tags: ghcr.io/${{ github.repository_owner }}/star-sw:${{ steps.branch-name.outputs.current_branch }}-${{ env.STARENV }}