Skip to content

CHG: updating workflows #69

CHG: updating workflows

CHG: updating workflows #69

name: build-base-container
on:
push:
branches:
- feature/refactoring
- development
pull_request:
branches:
- master
env:
REGISTRY: ghcr.io
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3.0.2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and Push Docker Image
uses: docker/build-push-action@v2
with:
push: true # Will only build if this is not here
tags: ${{ env.REGISTRY }}/${{ github.repository }}:base