build-base-image #8
Workflow file for this run
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: build-base-image | |
on: | |
# Only run this workflow manually, to ensure it WON'T run with every commit | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v3 | |
- name: Set up buildx for Docker | |
uses: docker/[email protected] | |
- name: Login to GHCR | |
uses: docker/[email protected] | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build base Docker image (builder) | |
uses: docker/[email protected] | |
with: | |
push: true | |
tags: ghcr.io/sillsdev/lfmerge-base:sdk | |
context: docker | |
file: Dockerfile.builder-base | |
- name: Build base Docker image (runtime) | |
uses: docker/[email protected] | |
with: | |
push: true | |
tags: ghcr.io/sillsdev/lfmerge-base:runtime | |
context: docker | |
file: Dockerfile.runtime-base | |
- name: List Docker images to verify build | |
run: docker image ls |